TestClassExtensions..::..GetMember<(Of <(<'T, TValue>)>)> Method
Gets the property value based on lambda.
Namespace:
FastMoq.ExtensionsAssembly: FastMoq.Core (in FastMoq.Core.dll)
Syntax
public static MemberInfo GetMember<T, TValue>( T _, Expression<Func<T, TValue>> memberLambda )
Public Shared Function GetMember(Of T, TValue) ( _ _ As T, _ memberLambda As Expression(Of Func(Of T, TValue)) _ ) As MemberInfo
public: generic<typename T, typename TValue> static MemberInfo^ GetMember( T _, Expression<Func<T, TValue>^>^ memberLambda )
Type Parameters
- T
- TValue
- The type of the t value.
Parameters
- _
- Type: T
The object.
- memberLambda
- Type: Expression<(Of <(<'Func<(Of <(<'T, TValue>)>)>>)>)>
The member lambda.