Delegate Getter<TDeclaringType, TPropertyType>
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Delegate representing a property/field getter.
public delegate TPropertyType Getter<TDeclaringType, TPropertyType>(ref TDeclaringType obj)
Parameters
objTDeclaringTypeThe instance from which to get the value.
Returns
- TPropertyType
The value returned by the getter.
Type Parameters
TDeclaringTypeThe declaring type from which to get a value.
TPropertyTypeThe property type of the underlying getter.