BackingFieldHelper.

GetBackingField<TInterface, TValue>(Type, Expression<Func<TInterface, TValue>>) Method

Summary

Gets the backing field.

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<Func<TInterface, TValue>> The expression.

Return Value

Type Description
FieldInfo