Interface ISignalerFactory
- Namespace
- Kuestenlogik.Bowire.Monitoring
- Assembly
- Kuestenlogik.Bowire.Monitoring.dll
Builds an ISignaler from a --signal <scheme>:<arg>
spec. Each outbound channel ships as its own opt-in sibling package
(…Monitoring.Slack, …Monitoring.PagerDuty, …Monitoring.Otlp)
contributing one factory, so Core + the Core-adjacent Monitoring package gain
no third-party dependencies. The CLI discovers factories by assembly scan and
reports a clear "install the package" message when a scheme has no factory.
Implementations must be zero-config (parameterless ctor) so the registry can
Activator.CreateInstance them.
public interface ISignalerFactory
Properties
Scheme
The --signal scheme this factory handles (e.g. slack).
string Scheme { get; }
Property Value
Methods
Create(string)
Build the signaler from the argument after scheme: — a webhook URL,
a routing key, an OTLP endpoint, … Throws SignalerConfigException
when the argument is missing or malformed.
ISignaler Create(string argument)
Parameters
argumentstring