Decode a member access expression of a specific ReflectedType

Namespace: NHibernate.Mapping.ByCode
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static MemberInfo DecodeMemberAccessExpressionOf<TEntity>(
	Expression<Func<TEntity, Object>> expression
)
Visual Basic
Public Shared Function DecodeMemberAccessExpressionOf(Of TEntity) ( _
	expression As Expression(Of Func(Of TEntity, Object)) _
) As MemberInfo
Visual C++
public:
generic<typename TEntity>
static MemberInfo^ DecodeMemberAccessExpressionOf(
	Expression<Func<TEntity, Object^>^>^ expression
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TEntity, Object>)>)>>)>)>
The expression of the property getter

Type Parameters

TEntity
Type to reflect

Return Value

The MemberInfo os the ReflectedType.

See Also