示例#1
0
        public void Handle(ProjectionMessage.Projections.StatusReport.Stopped message)
        {
            string name;

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

            _stopCompleted = null;
            if (stopCompleted != null)
            {
                stopCompleted();
            }
        }