Class Explanation
Represents an explanation for a boolean result, whilst also encapsulating underlying explanations (if any).
public sealed class Explanation
- Inheritance
-
Explanation
- Inherited Members
- Extension Methods
Properties
AllAssertions
Gets the assertions yielded from all results that took part in the evaluation.
public IEnumerable<string> AllAssertions { get; }
Property Value
AllUnderlying
Gets the all underlying explanations, regardless of whether they determined the outcome.
public IEnumerable<Explanation> AllUnderlying { get; }
Property Value
Assertions
Gets the assertions yielded from results that determined the outcome.
public IEnumerable<string> Assertions { get; }
Property Value
Causes
Gets the causes.
public IEnumerable<BooleanResultBase> Causes { get; }
Property Value
Results
Gets the causes.
public IEnumerable<BooleanResultBase> Results { get; }
Property Value
Underlying
Gets the underlying explanations of the causes.
public IEnumerable<Explanation> Underlying { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.