public KillSwitch(KillSwitchOptions options, IReceiveEndpoint receiveEndpoint) { _options = options; _receiveEndpoint = receiveEndpoint; LogContext = Context.LogContext.Current; _state = new StartedKillSwitchState(this); }
public KillSwitchReceiveEndpointObserver(KillSwitchOptions options) { _options = options; _killSwitches = new Dictionary <Uri, KillSwitch>(); }
public KillSwitchReceiveEndpointConfiguratorObserver(KillSwitchOptions options) { _observer = new KillSwitchReceiveEndpointObserver(options); }