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