Class RecordingCorrelationKey

Namespace
Kuestenlogik.Bowire.Recordings.Correlation
Assembly
Kuestenlogik.Bowire.Recordings.dll

The resolved signal a correlated timeline is read through (#539).

public sealed record RecordingCorrelationKey : IEquatable<RecordingCorrelationKey>
Inheritance
RecordingCorrelationKey
Implements
Inherited Members

Constructors

RecordingCorrelationKey(string, string, string)

The resolved signal a correlated timeline is read through (#539).

public RecordingCorrelationKey(string Name, string Value, string Source)

Parameters

Name string

Header name or JSON leaf name. Compared case- and separator-insensitively; leaf names additionally match by suffix, so shipId ties onShipId and OccupiedByShipId together without also fusing craneId.

Value string

The value identifying this one transaction. Always text — a JSON number leaf compares by its invariant string form so protocols that disagree about the type (101 vs "101") still correlate.

Source string

"header" (a correlation header carried in step.metadata), "field" (a shared id-shaped payload leaf), or "none" (no signal exists — the timeline degrades to a pure protocol-lane time chart).

Fields

SourceField

Source tag for a key found as a shared JSON payload leaf.

public const string SourceField = "field"

Field Value

string

SourceHeader

Source tag for a key found in a correlation header.

public const string SourceHeader = "header"

Field Value

string

SourceNone

Source tag used when no signal could be resolved at all.

public const string SourceNone = "none"

Field Value

string

Properties

Name

Header name or JSON leaf name. Compared case- and separator-insensitively; leaf names additionally match by suffix, so shipId ties onShipId and OccupiedByShipId together without also fusing craneId.

public string Name { get; init; }

Property Value

string

Source

"header" (a correlation header carried in step.metadata), "field" (a shared id-shaped payload leaf), or "none" (no signal exists — the timeline degrades to a pure protocol-lane time chart).

public string Source { get; init; }

Property Value

string

Value

The value identifying this one transaction. Always text — a JSON number leaf compares by its invariant string form so protocols that disagree about the type (101 vs "101") still correlate.

public string Value { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string)

public void Deconstruct(out string Name, out string Value, out string Source)

Parameters

Name string
Value string
Source string

Equals(RecordingCorrelationKey?)

public bool Equals(RecordingCorrelationKey? other)

Parameters

other RecordingCorrelationKey

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RecordingCorrelationKey?, RecordingCorrelationKey?)

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

Parameters

left RecordingCorrelationKey
right RecordingCorrelationKey

Returns

bool

operator !=(RecordingCorrelationKey?, RecordingCorrelationKey?)

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

Parameters

left RecordingCorrelationKey
right RecordingCorrelationKey

Returns

bool