예제 #1
0
 public RemoveLikeRequestHandler(
     IOptions <AggregatesConfig> cacheConfig,
     IMemoryCache memoryCache,
     IDomainEventDispatcher <LikesId> domainEventsDispatcher,
     IAggregateSnapshotAccessor <Likes, LikesId> snapshotAccessor,
     IDomainEventStore <LikesId> eventsAccessor) :
     base(cacheConfig, memoryCache, domainEventsDispatcher, snapshotAccessor, eventsAccessor)
 {
 }
 public SchemeUnpublishRequestHandler(
     IOptions <AggregatesConfig> cacheConfig,
     IMemoryCache memoryCache,
     IDomainEventDispatcher <PublicSchemeId> domainEventsDispatcher,
     IAggregateSnapshotAccessor <PublicScheme, PublicSchemeId> schemesSnapshot,
     IDomainEventStore <PublicSchemeId> eventsAccessor) :
     base(cacheConfig, memoryCache, domainEventsDispatcher, schemesSnapshot, eventsAccessor)
 {
 }
 protected DomainRequestHandler(
     IOptions <AggregatesConfig> aggConfig,
     IMemoryCache memoryCache,
     IDomainEventDispatcher <TAggregateId> eventsDispatcher,
     IAggregateSnapshotAccessor <TAggregate, TAggregateId> aggregateSnapshot,
     IDomainEventStore <TAggregateId> eventsAccessor)
 {
     this.aggregatesConfig          = aggConfig;
     this.memoryCache               = memoryCache;
     this.eventsDispatcher          = eventsDispatcher;
     this.aggregateSnapshotAccessor = aggregateSnapshot;
     this.eventStrore               = eventsAccessor;
 }