Summary
Sets the backing value.
- Assembly
- Rocket
.Surgery .Reflection .Extensions .dll - Namespace
- Rocket
.Surgery .Reflection - Containing Type
- ValueExtensions
Syntax
public static T SetBackingValue<T, TV>(this T instance, Expression<Func<T, TV>> expression, TV value)
Attributes
| Type | Description |
|---|---|
| Nullable |
Type Parameters
| Name | Description |
|---|---|
| T | |
| TV |
Parameters
| Name | Type | Description |
|---|---|---|
| instance | T | The instance. |
| expression | Expression |
The expression. |
| value | TV | The value. |
Return Value
| Type | Description |
|---|---|
| T |
