Class EffectOutcome

Namespace
Cratis.Chronicle.Occurrences
Assembly
Cratis.Chronicle.dll

The immutable outcome of one occurrence effect.

public abstract record EffectOutcome : IEquatable<EffectOutcome>
Inheritance
EffectOutcome
Implements
Derived
Inherited Members
Extension Methods

Constructors

EffectOutcome()

protected EffectOutcome()

EffectOutcome(EffectOutcome)

protected EffectOutcome(EffectOutcome original)

Parameters

original EffectOutcome

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Methods

Equals(EffectOutcome?)

public virtual bool Equals(EffectOutcome? other)

Parameters

other EffectOutcome

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(EffectOutcome?, EffectOutcome?)

public static bool operator ==(EffectOutcome? left, EffectOutcome? right)

Parameters

left EffectOutcome
right EffectOutcome

Returns

bool

operator !=(EffectOutcome?, EffectOutcome?)

public static bool operator !=(EffectOutcome? left, EffectOutcome? right)

Parameters

left EffectOutcome
right EffectOutcome

Returns

bool