TestClassExtensions..::..GetMethod<(Of <(<'TObject>)>)> Method

Gets the method.

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

Syntax


public static MethodInfo GetMethod<TObject>(
	TObject obj,
	string name
)
Public Shared Function GetMethod(Of TObject) ( _
	obj As TObject, _
	name As String _
) As MethodInfo
public:
generic<typename TObject>
static MethodInfo^ GetMethod(
	TObject obj, 
	String^ name
)

Type Parameters

TObject
The type of the t object.

Parameters

obj
Type: TObject
The object.
name
Type: String
The name.

Return Value

Nullable.