Skip to content
ChartForgeX
Struct

ChartObservationId

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Implements
IEquatable<ChartObservationId>
Modifiers
sealed

An authored observation identity that remains independent of display text and source ordering.

Inheritance

  • ValueType
  • ChartObservationId

Usage

Explore 22 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 16

Constructors

public ChartObservationId(string value) #

Creates a case-sensitive source identity.

Parameters

value string required
A nonempty identifier. Leading and trailing whitespace is removed.

Methods

Equals 2 overloads
public bool Equals(ChartObservationId other) #

Compares two observation identities ordinally.

Parameters

other ChartForgeX.Core.ChartObservationId required

Returns

bool
public override bool Equals(object? obj) #

Compares identities ordinally when obj is a ChartObservationId.

Parameters

obj object? required

Returns

bool
public override int GetHashCode() #

Returns an ordinal hash code of the identity value.

Returns

int
public static bool op_Equality(ChartObservationId left, ChartObservationId right) #

Compares two authored observation identities.

Parameters

left ChartForgeX.Core.ChartObservationId required
right ChartForgeX.Core.ChartObservationId required

Returns

bool
public static bool op_Inequality(ChartObservationId left, ChartObservationId right) #

Compares two authored observation identities.

Parameters

left ChartForgeX.Core.ChartObservationId required
right ChartForgeX.Core.ChartObservationId required

Returns

bool
public override string ToString() #

Returns the identity value.

Returns

string

Properties

public string Value { get; } #

Gets the identifier. A default struct is invalid until constructed explicitly.