Skip to content

ICtorVerifier<T>.IgnoreParameter method

Configure a parameter to be ignored for verification.

csharp
public ICtorVerifier IgnoreParameter(string parameterName, object defaultValue = null)
public ICtorVerifier IgnoreParameter(string parameterName, object defaultValue = null)
parameterdescription
parameterNameThe parameter name.
defaultValueThe default value provided to the constructor.

Return Value

The CtorVerifier for further configuration.

See Also