TestClassExtensions..::..GetMemberName<(Of <(<'T, TValue>)>)> Method (T, Expression<(Of <(<'Func<(Of <(<'T, TValue>)>)>>)>)>)

Gets the name of the member.

Namespace:  FastMoq.Extensions
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public static string GetMemberName<T, TValue>(
	T _,
	Expression<Func<T, TValue>> memberLambda
)
Public Shared Function GetMemberName(Of T, TValue) ( _
	_ As T, _
	memberLambda As Expression(Of Func(Of T, TValue)) _
) As String
public:
generic<typename T, typename TValue>
static String^ GetMemberName(
	T _, 
	Expression<Func<T, TValue>^>^ memberLambda
)

Type Parameters

T
TValue
The type of the t value.

Parameters

_
Type: T
The .
memberLambda
Type: Expression<(Of <(<'Func<(Of <(<'T, TValue>)>)>>)>)>
The member lambda.

Return Value

System.String.