Ejemplo n.º 1
0
        public KillSwitch(KillSwitchOptions options, IReceiveEndpoint receiveEndpoint)
        {
            _options         = options;
            _receiveEndpoint = receiveEndpoint;

            LogContext = Context.LogContext.Current;

            _state = new StartedKillSwitchState(this);
        }
Ejemplo n.º 2
0
        public KillSwitchReceiveEndpointObserver(KillSwitchOptions options)
        {
            _options = options;

            _killSwitches = new Dictionary <Uri, KillSwitch>();
        }
 public KillSwitchReceiveEndpointConfiguratorObserver(KillSwitchOptions options)
 {
     _observer = new KillSwitchReceiveEndpointObserver(options);
 }