Interface IRuleWithMessage<TValidated>
An object which contains both validation rule logic and also can provide a human-readable failure message.
Inherited Members
Namespace: CSF.Validation.Rules
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IRuleWithMessage<in TValidated> : IRule<TValidated>, IGetsFailureMessage<TValidated>
Type Parameters
Name | Description |
---|---|
TValidated | The validated type. |
Remarks
You are encouraged to read more about how validation message providers are used and selected at the documentation relating to message providers.
See Also
IGetsFailureMessage<TValidated, TParent>
IGetsFailureMessage<TValidated>
IHasFailureMessageUsageCriteria<TValidated>
IHasFailureMessageUsageCriteria<TValidated, TParent>
IRuleWithMessage<TValidated, TParent>