Class RecordingCorrelationCandidate

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

One key the analyzer would accept, offered to the operator so they can override the auto-pick.

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

Constructors

RecordingCorrelationCandidate(string, string, string, IReadOnlyList<string>, int, int)

One key the analyzer would accept, offered to the operator so they can override the auto-pick.

public RecordingCorrelationCandidate(string Name, string Value, string Source, IReadOnlyList<string> Protocols, int StepCount, int Score)

Parameters

Name string

The leaf / header name, in its first-seen spelling.

Value string

The shared value.

Source string

SourceHeader or SourceField.

Protocols IReadOnlyList<string>

Distinct protocols the candidate was seen on, in first-appearance order.

StepCount int

How many steps carry it.

Score int

Ranking weight — higher wins. Header candidates outrank every field candidate; among field candidates, spanning more protocols beats appearing in more steps of the same protocol.

Properties

Name

The leaf / header name, in its first-seen spelling.

public string Name { get; init; }

Property Value

string

Protocols

Distinct protocols the candidate was seen on, in first-appearance order.

public IReadOnlyList<string> Protocols { get; init; }

Property Value

IReadOnlyList<string>

Score

Ranking weight — higher wins. Header candidates outrank every field candidate; among field candidates, spanning more protocols beats appearing in more steps of the same protocol.

public int Score { get; init; }

Property Value

int

Source

public string Source { get; init; }

Property Value

string

StepCount

How many steps carry it.

public int StepCount { get; init; }

Property Value

int

Value

The shared value.

public string Value { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string, out IReadOnlyList<string>, out int, out int)

public void Deconstruct(out string Name, out string Value, out string Source, out IReadOnlyList<string> Protocols, out int StepCount, out int Score)

Parameters

Name string
Value string
Source string
Protocols IReadOnlyList<string>
StepCount int
Score int

Equals(RecordingCorrelationCandidate?)

public bool Equals(RecordingCorrelationCandidate? other)

Parameters

other RecordingCorrelationCandidate

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 ==(RecordingCorrelationCandidate?, RecordingCorrelationCandidate?)

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

Parameters

left RecordingCorrelationCandidate
right RecordingCorrelationCandidate

Returns

bool

operator !=(RecordingCorrelationCandidate?, RecordingCorrelationCandidate?)

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

Parameters

left RecordingCorrelationCandidate
right RecordingCorrelationCandidate

Returns

bool