public void Handle(ProjectionMessage.Projections.StatusReport.Stopped message) { string name; if (_projectionsMap.TryGetValue(message.CorrelationId, out name)) { var projection = _projections[name]; projection.Handle(message); } }
public void Handle(ProjectionMessage.Projections.StatusReport.Stopped message) { _state = ManagedProjectionState.Stopped; DisposeCoreProjection(); var stopCompleted = _stopCompleted; _stopCompleted = null; if (stopCompleted != null) { stopCompleted(); } }