/// <summary> /// Initializes an instance of a <see cref="UncommittedEventStreamCoordinator"/> /// </summary> /// <param name="eventStore"><see cref="IEventStore"/> to use for saving the events</param> /// <param name="eventSourceVersions"><see cref="IEventSourceVersions"/> for working with the version for the <see cref="IEventSource"/></param> /// <param name="committedEventStreamSender"><see cref="ICanSendCommittedEventStream"/> send the <see cref="CommittedEventStream"/></param> /// <param name="eventEnvelopes"><see cref="IEventEnvelopes"/> for working with <see cref="EventEnvelope"/></param> /// <param name="eventSequenceNumbers"><see cref="IEventSequenceNumbers"/> for allocating <see cref="EventSequenceNumber">sequence number</see> for <see cref="IEvent">events</see></param> public UncommittedEventStreamCoordinator( IEventStore eventStore, IEventSourceVersions eventSourceVersions, ICanSendCommittedEventStream committedEventStreamSender, IEventEnvelopes eventEnvelopes, IEventSequenceNumbers eventSequenceNumbers) { _eventStore = eventStore; _eventSourceVersions = eventSourceVersions; _committedEventStreamSender = committedEventStreamSender; _eventEnvelopes = eventEnvelopes; _eventSequenceNumbers = eventSequenceNumbers; }