public ESauceService(IEventRepository eventRepository, // ISnapshotRepository<TAggregate> snapshotRepository, IHandlerMappingProvider <TAggregate> handlerMappingProvider, IServiceProvider serviceProvider) { this.eventRepository = eventRepository; this.handlerMappingProvider = handlerMappingProvider; // this.snapshotRepository = snapshotRepository; this.serviceProvider = serviceProvider; }
public AggregateConfiguration(IServiceCollection serviceDescriptors, IHandlerMappingProvider <TAggregate> handlerMapping) { this.serviceDescriptors = serviceDescriptors; this.handlerMapping = handlerMapping; }