ContainsSpecification.

CreateFailedMessage(string) Method

Summary

Gets validation failed message of Specification for candidate content.

Syntax

[PublicAPI]
protected override string CreateFailedMessage(string candidate)

Remarks

Invoked only when overall result is False.

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
candidate string Incorrect candidate object.

Return Value

Type Description
string Validation failed message.
GitHub