MockerTestBase<(Of <(<'TComponent>)>)>..::..CreateComponentAction Property

Gets or sets the create component action. This action is run whenever the component is created.

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

Syntax


protected virtual Func<Mocker, TComponent> CreateComponentAction { get; }
Protected Overridable ReadOnly Property CreateComponentAction As Func(Of Mocker, TComponent)
	Get
protected:
virtual property Func<Mocker^, TComponent>^ CreateComponentAction {
	Func<Mocker^, TComponent>^ get ();
}

Field Value

The action to override the component creation.