Interface IBowireLintRule
- Namespace
- Kuestenlogik.Bowire.Linting
- Assembly
- Kuestenlogik.Bowire.dll
A single design-time rule over a discovered service. Rules are the extension seam of the linter: a new check is a new IBowireLintRule registered with BowireSchemaLinter. A rule inspects one service in isolation and yields zero or more BowireLintFinding.
public interface IBowireLintRule
Properties
Id
Stable machine id, e.g. BWR-LINT-MISSING-PAGINATION.
string Id { get; }
Property Value
Severity
The severity every finding from this rule carries.
BowireLintSeverity Severity { get; }
Property Value
Title
One-line human title for reports.
string Title { get; }
Property Value
Methods
Inspect(BowireServiceInfo)
Inspect one service and yield any findings.
IEnumerable<BowireLintFinding> Inspect(BowireServiceInfo service)
Parameters
serviceBowireServiceInfo