Mocker..::..CreateInstanceByType<(Of <(<'T>)>)> Method

Creates instance by type args.

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

Syntax


public T CreateInstanceByType<T>(
	params Type[] args
)
Public Function CreateInstanceByType(Of T) ( _
	ParamArray args As Type() _
) As T
public:
generic<typename T>
T CreateInstanceByType(
	... array<Type^>^ args
)

Type Parameters

T

Parameters

args
Type: array<Type>[]()[][]
The type arguments.

Return Value