Class ResultDescriptionBase
- Namespace
- Motiv
- Assembly
- Motiv.dll
Represents the base class for a description of a BooleanResultBase.
public abstract class ResultDescriptionBase
- Inheritance
-
ResultDescriptionBase
- Inherited Members
- Extension Methods
Properties
Justification
Gets the multi-line detailed breakdown of the causes as a human-readable string.
public virtual string Justification { get; }
Property Value
Reason
Gets the reason for the result.
public abstract string Reason { get; }
Property Value
Methods
GetJustificationAsLines()
Retrieves the details of the result as a collection of lines.
public abstract IEnumerable<string> GetJustificationAsLines()
Returns
- IEnumerable<string>
An enumerable collection of strings, each representing a line of detail.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.