Summary
Creates trace message based on overall result and candidate content.
Syntax
[PublicAPI]
[NotNull]
protected virtual string CreateTraceMessage(T candidate, bool result)
Returns short name of Specification (without namespaces) by default.
Failed result contains +Failed suffix.
Attributes
| Type |
Description |
| PublicAPI |
|
| NotNull |
|
Parameters
| Name |
Type |
Description |
| candidate |
T |
Verified candidate object. |
| result |
bool |
Overall Specification result. |
Return Value
| Type |
Description |
| string |
Short trace message. |