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
EndpointOrchestratorEndpointRiskScoreintReasonstring
Properties
Endpoint
public OrchestratorEndpoint Endpoint { get; init; }
Property Value
Reason
public string? Reason { get; init; }
Property Value
RiskScore
public int RiskScore { get; init; }
Property Value
Methods
Deconstruct(out OrchestratorEndpoint, out int, out string?)
public void Deconstruct(out OrchestratorEndpoint Endpoint, out int RiskScore, out string? Reason)
Parameters
EndpointOrchestratorEndpointRiskScoreintReasonstring
Equals(RankedEndpoint?)
public bool Equals(RankedEndpoint? other)
Parameters
otherRankedEndpoint
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 ==(RankedEndpoint?, RankedEndpoint?)
public static bool operator ==(RankedEndpoint? left, RankedEndpoint? right)
Parameters
leftRankedEndpointrightRankedEndpoint
Returns
operator !=(RankedEndpoint?, RankedEndpoint?)
public static bool operator !=(RankedEndpoint? left, RankedEndpoint? right)
Parameters
leftRankedEndpointrightRankedEndpoint