示例#1
0
 public AsyncEventQueueManager(ICrudRepository crudRepository, IEventSerializer eventSerializer,
                               IExternalEventStore externalEventStore)
 {
     this.crudRepository     = crudRepository;
     this.eventSerializer    = eventSerializer;
     this.externalEventStore = externalEventStore;
 }
        public EFCoreAsyncEventQueueManager(ICrudRepository crudRepository, IEventSerializer eventSerializer,
                                            IExternalEventStore externalEventStore,
                                            IEFCoreTransactionCoordinator transactionCoordinator)
            : base(crudRepository, eventSerializer, externalEventStore)
        {
            this.transactionCoordinator = transactionCoordinator;

            transactionCoordinator.AddTransactionParticipant(this);
        }
 public EFCoreExternalEventStoreHook(ICommandContext commandContext, IExternalEventStore externalEventStore)
 {
     this.commandContext     = commandContext;
     this.externalEventStore = externalEventStore;
 }