Class BowireLintFinding

Namespace
Kuestenlogik.Bowire.Linting
Assembly
Kuestenlogik.Bowire.dll

One design-time issue found in a discovered API surface. Produced by an IBowireLintRule and carried by BowireSchemaLinter. Method / Field are null when the finding is about the service as a whole.

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

Constructors

BowireLintFinding(string, BowireLintSeverity, string, string?, string?, string)

One design-time issue found in a discovered API surface. Produced by an IBowireLintRule and carried by BowireSchemaLinter. Method / Field are null when the finding is about the service as a whole.

public BowireLintFinding(string RuleId, BowireLintSeverity Severity, string Service, string? Method, string? Field, string Message)

Parameters

RuleId string
Severity BowireLintSeverity
Service string
Method string
Field string
Message string

Properties

Field

public string? Field { get; init; }

Property Value

string

Message

public string Message { get; init; }

Property Value

string

Method

public string? Method { get; init; }

Property Value

string

RuleId

public string RuleId { get; init; }

Property Value

string

Service

public string Service { get; init; }

Property Value

string

Severity

public BowireLintSeverity Severity { get; init; }

Property Value

BowireLintSeverity

Methods

Deconstruct(out string, out BowireLintSeverity, out string, out string?, out string?, out string)

public void Deconstruct(out string RuleId, out BowireLintSeverity Severity, out string Service, out string? Method, out string? Field, out string Message)

Parameters

RuleId string
Severity BowireLintSeverity
Service string
Method string
Field string
Message string

Equals(BowireLintFinding?)

public bool Equals(BowireLintFinding? other)

Parameters

other BowireLintFinding

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

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

Parameters

left BowireLintFinding
right BowireLintFinding

Returns

bool

operator !=(BowireLintFinding?, BowireLintFinding?)

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

Parameters

left BowireLintFinding
right BowireLintFinding

Returns

bool