Table of Contents

Class Explanation

Namespace
Motiv.Shared
Assembly
Motiv.dll

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

IEnumerable<string>

AllUnderlying

Gets the all underlying explanations, regardless of whether they determined the outcome.

public IEnumerable<Explanation> AllUnderlying { get; }

Property Value

IEnumerable<Explanation>

Assertions

Gets the assertions yielded from results that determined the outcome.

public IEnumerable<string> Assertions { get; }

Property Value

IEnumerable<string>

Causes

Gets the causes.

public IEnumerable<BooleanResultBase> Causes { get; }

Property Value

IEnumerable<BooleanResultBase>

Results

Gets the causes.

public IEnumerable<BooleanResultBase> Results { get; }

Property Value

IEnumerable<BooleanResultBase>

Underlying

Gets the underlying explanations of the causes.

public IEnumerable<Explanation> Underlying { get; }

Property Value

IEnumerable<Explanation>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.