Class SignalerRegistry

Namespace
Kuestenlogik.Bowire.Monitoring
Assembly
Kuestenlogik.Bowire.Monitoring.dll

Discovers the installed ISignalerFactory contributions and resolves a --signal <scheme>:<arg> spec to a live ISignaler. Signaler packages are opt-in siblings; a scheme with no installed package resolves to a clear "install …" error rather than a crash. Same assembly-scan shape the protocol / CLI-command registries use.

public sealed class SignalerRegistry
Inheritance
SignalerRegistry
Inherited Members

Properties

Schemes

The schemes with an installed factory (e.g. slack, pagerduty).

public IReadOnlyCollection<string> Schemes { get; }

Property Value

IReadOnlyCollection<string>

Methods

Discover()

Scan for signaler factories. Loads the opt-in sibling assemblies (Kuestenlogik.Bowire.Monitoring.*.dll) next to the running app so a package that's present but not yet referenced still contributes, then walks every loaded Bowire assembly for concrete ISignalerFactory types.

public static SignalerRegistry Discover()

Returns

SignalerRegistry

Resolve(string, out string?)

Resolve one scheme:arg spec. Returns the signaler, or null with a human-readable error when the scheme has no installed factory or the argument is invalid.

public ISignaler? Resolve(string spec, out string? error)

Parameters

spec string
error string

Returns

ISignaler