Class RankedEndpoint

Namespace
Kuestenlogik.Bowire.Security
Assembly
Kuestenlogik.Bowire.dll

An endpoint ranked by the threat-model step.

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

Constructors

RankedEndpoint(OrchestratorEndpoint, int, string?)

An endpoint ranked by the threat-model step.

public RankedEndpoint(OrchestratorEndpoint Endpoint, int RiskScore, string? Reason)

Parameters

Endpoint OrchestratorEndpoint
RiskScore int
Reason string

Properties

Endpoint

public OrchestratorEndpoint Endpoint { get; init; }

Property Value

OrchestratorEndpoint

Reason

public string? Reason { get; init; }

Property Value

string

RiskScore

public int RiskScore { get; init; }

Property Value

int

Methods

Deconstruct(out OrchestratorEndpoint, out int, out string?)

public void Deconstruct(out OrchestratorEndpoint Endpoint, out int RiskScore, out string? Reason)

Parameters

Endpoint OrchestratorEndpoint
RiskScore int
Reason string

Equals(RankedEndpoint?)

public bool Equals(RankedEndpoint? other)

Parameters

other RankedEndpoint

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

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

Parameters

left RankedEndpoint
right RankedEndpoint

Returns

bool

operator !=(RankedEndpoint?, RankedEndpoint?)

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

Parameters

left RankedEndpoint
right RankedEndpoint

Returns

bool