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
NamestringHeader name or JSON leaf name. Compared case- and separator-insensitively; leaf names additionally match by suffix, so
shipIdtiesonShipIdandOccupiedByShipIdtogether without also fusingcraneId.ValuestringThe value identifying this one transaction. Always text — a JSON number leaf compares by its invariant string form so protocols that disagree about the type (
101vs"101") still correlate.Sourcestring"header"(a correlation header carried instep.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
SourceHeader
Source tag for a key found in a correlation header.
public const string SourceHeader = "header"
Field Value
SourceNone
Source tag used when no signal could be resolved at all.
public const string SourceNone = "none"
Field Value
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
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
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
Methods
Deconstruct(out string, out string, out string)
public void Deconstruct(out string Name, out string Value, out string Source)
Parameters
Equals(RecordingCorrelationKey?)
public bool Equals(RecordingCorrelationKey? other)
Parameters
otherRecordingCorrelationKey
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RecordingCorrelationKey?, RecordingCorrelationKey?)
public static bool operator ==(RecordingCorrelationKey? left, RecordingCorrelationKey? right)
Parameters
leftRecordingCorrelationKeyrightRecordingCorrelationKey
Returns
operator !=(RecordingCorrelationKey?, RecordingCorrelationKey?)
public static bool operator !=(RecordingCorrelationKey? left, RecordingCorrelationKey? right)
Parameters
leftRecordingCorrelationKeyrightRecordingCorrelationKey