void IReceive <ConnectionGracefulShutdown> .Receive(ConnectionGracefulShutdown message) { // ignore model shutdown if caused by connection shutdown log.Debug("Ignoring model shutdown because connection was shut down gracefully"); Model.ModelShutdown -= ModelOnModelShutdown; }
void IReceive <ConnectionGracefulShutdown> .Receive(ConnectionGracefulShutdown message) { log.Debug("Bus Stopped"); Stopped(); }