MinLengthSpecification<T>.

CreateNegationFailedMessage(T) Method

Summary

Gets validation negation failed message of Specification for candidate content.

Syntax

[PublicAPI]
protected override string CreateNegationFailedMessage(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 negation failed message.
GitHub