MockerTestBase<(Of <(<'TComponent>)>)>..::..TestConstructorParameters Method (ConstructorInfo, Action<(Of <(<'Action, String, String>)>)>, Nullable<(Of <(<'Func<(Of <(<'ParameterInfo, Nullable<(Of <(<'Object>)>)>>)>)>>)>)>, Nullable<(Of <(<'Func<(Of <(<'ParameterInfo, Nullable<(Of <(<'Object>)>)>>)>)>>)>)>)

Tests the constructor parameters.

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

Syntax


protected void TestConstructorParameters(
	ConstructorInfo constructorInfo,
	Action<Action, string, string> createAction,
	Nullable<Func<ParameterInfo, Nullable<Object>>> defaultValue,
	Nullable<Func<ParameterInfo, Nullable<Object>>> validValue
)
Protected Sub TestConstructorParameters ( _
	constructorInfo As ConstructorInfo, _
	createAction As Action(Of Action, String, String), _
	defaultValue As Nullable(Of Func(Of ParameterInfo, Nullable(Of Object))), _
	validValue As Nullable(Of Func(Of ParameterInfo, Nullable(Of Object))) _
)
protected:
void TestConstructorParameters(
	ConstructorInfo^ constructorInfo, 
	Action<Action^, String^, String^>^ createAction, 
	Nullable<Func<ParameterInfo^, Nullable<Object^>>^> defaultValue, 
	Nullable<Func<ParameterInfo^, Nullable<Object^>>^> validValue
)

Parameters

constructorInfo
Type: ConstructorInfo
The constructor information.
createAction
Type: Action<(Of <(<'Action, String, String>)>)>
The create action.
defaultValue
Type: Nullable<(Of <(<'Func<(Of <(<'ParameterInfo, Nullable<(Of <(<'Object>)>)>>)>)>>)>)>
The value replaced when testing a parameter.
validValue
Type: Nullable<(Of <(<'Func<(Of <(<'ParameterInfo, Nullable<(Of <(<'Object>)>)>>)>)>>)>)>
The valid value.