Represents a method that returns a value of a specified type from the instance of an object.

Namespace:  Gallio.Common
Assembly:  Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.528.0)

Syntax

C#
public delegate TValue Accessor<T, TValue>(
	T obj
)
Visual Basic (Declaration)
Public Delegate Function Accessor(Of T, TValue) ( _
	obj As T _
) As TValue

Parameters

obj
Type: T
The object to get the value from.

Type Parameters

T
The type of the object to get the value from.
TValue
The type of the returned value.

Return Value

The returned value.

Remarks

It is usually used to represent the invocation of a type property.

See Also