/// <summary> /// Initalizes a new instance of <see cref="CommandHook"/>. /// </summary> /// <param name="statistics">The statistics class.</param> public CommandHook(Statistics statistics) { this.statistics = statistics; }
/// <summary> /// Initializes a new instance of <see cref="EventPublisherWrapper"/> /// </summary> /// <param name="bus">The event publisher to decorate.</param> /// <param name="statistics">The statistics class.</param> public EventPublisherWrapper(IPublishEvents bus, Statistics statistics) { this.statistics = statistics; this.bus = bus; }
/// <summary> /// Initalizes a new isntance of <see cref="BenchmarkedSagaStore"/>. /// </summary> /// <param name="sagaStore">The saga store to decorate.</param> /// <param name="statistics">The statistics class.</param> public BenchmarkedSagaStore(IStoreSagas sagaStore, Statistics statistics) { this.sagaStore = sagaStore; this.statistics = statistics; }
/// <summary> /// Initializes a new instance of <see cref="CommandPublisherWrapper"/> /// </summary> /// <param name="bus">The command publisher to decorate.</param> /// <param name="statistics">The statistics class.</param> public CommandPublisherWrapper(IPublishCommands bus, Statistics statistics) { this.statistics = statistics; this.bus = bus; }
/// <summary> /// Initalizes a new isntance of <see cref="BenchmarkedEventStore"/>. /// </summary> /// <param name="eventStore">The event store to decorate.</param> /// <param name="statistics">The statistics class.</param> public BenchmarkedEventStore(IStoreEvents eventStore, Statistics statistics) { this.eventStore = eventStore; this.statistics = statistics; }
/// <summary> /// Initalizes a new instance of <see cref="SagaHook"/>. /// </summary> /// <param name="statistics">The statistics class.</param> public SagaHook(Statistics statistics) { this.statistics = statistics; }
/// <summary> /// Initializes a new instance of <see cref="EventProcessorWrapper"/>. /// </summary> /// <param name="processor">The event processor to decorate.</param> /// <param name="statistics">The statistics class.</param> public EventProcessorWrapper(IProcessMessages <EventEnvelope> processor, Statistics statistics) { this.statistics = statistics; this.processor = processor; }
/// <summary> /// Initalizes a new isntance of <see cref="BenchmarkedSnapshotStore"/>. /// </summary> /// <param name="snapshotStore">The snapshot store to decorate.</param> /// <param name="statistics">The statistics class.</param> public BenchmarkedSnapshotStore(IStoreSnapshots snapshotStore, Statistics statistics) { this.snapshotStore = snapshotStore; this.statistics = statistics; }
/// <summary> /// Initalizes a new isntance of <see cref="BenchmarkedSnapshotStore"/>. /// </summary> /// <param name="snapshotStore">The snapshot store to decorate.</param> /// <param name="statistics">The statistics class.</param> public BenchmarkedSnapshotStore(IStoreSnapshots snapshotStore, Statistics statistics) { this.snapshotStore = snapshotStore; this.statistics = statistics; }