Class CannotResolveValidatorDependency

Namespace
Cratis.Arc.Validation
Assembly
Cratis.Arc.Core.dll

Exception thrown when a discoverable validator cannot be constructed because a non-nullable constructor dependency cannot be resolved or resolves to null.

public class CannotResolveValidatorDependency : Exception, ISerializable
Inheritance
CannotResolveValidatorDependency
Implements
Inherited Members
Extension Methods

Constructors

CannotResolveValidatorDependency(Type, ParameterInfo)

Exception thrown when a discoverable validator cannot be constructed because a non-nullable constructor dependency cannot be resolved or resolves to null.

public CannotResolveValidatorDependency(Type validatorType, ParameterInfo parameter)

Parameters

validatorType Type

The validator type that could not be constructed.

parameter ParameterInfo

The dependency parameter that could not be resolved.