FalseSpecification.

CreateFailedMessage(bool) Method

Summary

Gets validation failed message of Specification for candidate content.

Syntax

[PublicAPI]
protected override string CreateFailedMessage(bool candidate)

Remarks

Invoked only when overall result is False.

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
candidate bool Incorrect candidate object.

Return Value

Type Description
string Validation failed message.
GitHub