MockerTestBase<(Of <(<'TComponent>)>)> Constructor (Action<(Of <(<'Mocker>)>)>, Action<(Of <(<'TComponent>)>)>, array<Type>[]()[][])

Initializes a new instance of the MockerTestBase<(Of <(<'TComponent>)>)> class.

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

Syntax


protected MockerTestBase(
	Action<Mocker> setupMocksAction,
	Action<TComponent> createdComponentAction,
	params Type[] createArgumentTypes
)
Protected Sub New ( _
	setupMocksAction As Action(Of Mocker), _
	createdComponentAction As Action(Of TComponent), _
	ParamArray createArgumentTypes As Type() _
)
protected:
MockerTestBase(
	Action<Mocker^>^ setupMocksAction, 
	Action<TComponent>^ createdComponentAction, 
	... array<Type^>^ createArgumentTypes
)

Parameters

setupMocksAction
Type: Action<(Of <(<'Mocker>)>)>
The setup mocks action.
createdComponentAction
Type: Action<(Of <(<'TComponent>)>)>
The created component action.
createArgumentTypes
Type: array<Type>[]()[][]
Create component using constructor with matching types.