Mocker..::..GetFileSystem Method

Gets the IFileSystem used in this context. Generally, this means the Mocker.fileSystem property; unless strict is turned on, then it is a Mock.

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

Syntax


public IFileSystem GetFileSystem(
	Action<IFileSystem> action
)
Public Function GetFileSystem ( _
	action As Action(Of IFileSystem) _
) As IFileSystem
public:
IFileSystem^ GetFileSystem(
	Action<IFileSystem^>^ action
)

Parameters

action
Type: Action<(Of <(<'IFileSystem>)>)>

Return Value