public MemoryAggregateRootEventStorage(ILoggerFactory loggerFactory , ISerialiser serialiser , IEventToAggregateEventMapper eventToAggregateEventMapper) { _serialiser = serialiser; _eventToAggregateEventMapper = eventToAggregateEventMapper; logger = loggerFactory.Create(); }
public NHibAggregateRootEventStorage(ILoggerFactory loggerFactory , IEventToAggregateEventMapper eventToAggregateEventMapper , ISerialiser serialiser , IGenericEntityService genericEntityService) { _eventToAggregateEventMapper = eventToAggregateEventMapper; _serialiser = serialiser; _genericEntityService = genericEntityService; _logger = loggerFactory.Create(); }
public DapperAggregateRootEventStorage(ILoggerFactory loggerFactory , ISerialiser serialiser , IConnectionStringProvider connectionStringProvider , IEventToAggregateEventMapper eventToAggregateEventMapper) { _serialiser = serialiser; _eventToAggregateEventMapper = eventToAggregateEventMapper; logger = loggerFactory.Create(); _connectionString = connectionStringProvider.Get("events"); }