Mocker..::..CreateInstance<(Of <(<'T>)>)> Method (Boolean, array<Object>[]()[][])

Creates the instance.

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

Syntax


public T CreateInstance<T>(
	bool usePredefinedFileSystem,
	params Object[] args
)
Public Function CreateInstance(Of T) ( _
	usePredefinedFileSystem As Boolean, _
	ParamArray args As Object() _
) As T
public:
generic<typename T>
T CreateInstance(
	bool^ usePredefinedFileSystem, 
	... array<Object^>^ args
)

Type Parameters

T
The Mock Type, usually an interface.

Parameters

usePredefinedFileSystem
Type: Boolean
if set to true [use predefined file system].
args
Type: array<Object>[]()[][]
The arguments.

Return Value

Nullable.