Mocker Constructor (Dictionary<(Of <(<'Type, IInstanceModel>)>)>)

Initializes a new instance of the Mocker class with a given type map (mock dependency injection).

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

Syntax


public Mocker(
	Dictionary<Type, IInstanceModel> typeMap
)
Public Sub New ( _
	typeMap As Dictionary(Of Type, IInstanceModel) _
)
public:
Mocker(
	Dictionary<Type^, IInstanceModel^>^ typeMap
)

Parameters

typeMap
Type: Dictionary<(Of <(<'Type, IInstanceModel>)>)>