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
obj
TDeclaringTypeThe instance from which to get the value.
Returns
- TPropertyType
The value returned by the getter.
Type Parameters
TDeclaringType
The declaring type from which to get a value.
TPropertyType
The property type of the underlying getter.