InclusiveBetweenSpecification<T>.

CreateFailedMessage(T) Method

Summary

Gets validation failed message of Specification for candidate content.

Syntax

[PublicAPI]
protected override string CreateFailedMessage(T candidate)

Remarks

Invoked only when overall result is False.

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
candidate T Incorrect candidate object.

Return Value

Type Description
string Validation failed message.
GitHub