Class EffectName

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

Names one effect within an occurrence.

public record EffectName : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<EffectName>
Inheritance
EffectName
Implements
Inherited Members
Extension Methods

Constructors

EffectName(EffectName)

protected EffectName(EffectName original)

Parameters

original EffectName

EffectName(string)

Names one effect within an occurrence.

public EffectName(string Value)

Parameters

Value string

The nonempty, stable effect name.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string)

public void Deconstruct(out string Value)

Parameters

Value string

Equals(EffectName?)

public virtual bool Equals(EffectName? other)

Parameters

other EffectName

Returns

bool

Equals(ConceptAs<string>?)

public override sealed bool Equals(ConceptAs<string>? other)

Parameters

other ConceptAs<string>

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 override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

Operators

operator ==(EffectName?, EffectName?)

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

Parameters

left EffectName
right EffectName

Returns

bool

implicit operator EffectName(string)

Converts an effect name.

public static implicit operator EffectName(string value)

Parameters

value string

The name.

Returns

EffectName

operator !=(EffectName?, EffectName?)

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

Parameters

left EffectName
right EffectName

Returns

bool