Summary
Sets the backing field.
- Assembly
- Rocket
.Surgery .Reflection .Extensions .dll - Namespace
- Rocket
.Surgery .Reflection - Containing Type
- BackingFieldHelper
Syntax
public void SetBackingField<TInterface, TValue>(TInterface instance, Expression<Func<TInterface, TValue>> expression, TValue value)
Type Parameters
Name | Description |
---|---|
TInterface | The type of the interface. |
TValue | The type of the value. |
Parameters
Name | Type | Description |
---|---|---|
instance | TInterface | The instance. |
expression | Expression |
The expression. |
value | TValue | The value. |
Return Value
Type | Description |
---|---|
void |