Table of Contents

Delegate Getter<TDeclaringType, TPropertyType>

Namespace
TypeShape.Abstractions
Assembly
TypeShape.dll

Delegate representing a property/field getter.

public delegate TPropertyType Getter<TDeclaringType, TPropertyType>(ref TDeclaringType obj)

Parameters

obj TDeclaringType

The 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.