Mocker..::..CreateInstance<(Of <(<'T>)>)> Method (Boolean)

Creates an instance of IFileSystem.

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

Syntax


public IFileSystem CreateInstance<T>(
	bool usePredefinedFileSystem
)
where T : IFileSystem
Public Function CreateInstance(Of T As IFileSystem) ( _
	usePredefinedFileSystem As Boolean _
) As IFileSystem
public:
generic<typename T>
where T : IFileSystem
IFileSystem^ CreateInstance(
	bool^ usePredefinedFileSystem
)

Type Parameters

T
IFileSystem.

Parameters

usePredefinedFileSystem
Type: Boolean
if set to true [use predefined file system].

Return Value

Nullable.