public StorageSpService(IStorageStore storageStore, ILogger logger, ISeedService seedService, AppDbContext context) { _storageStore = storageStore; _logger = logger; _seedService = seedService; _context = context; }
public DualTransactionCommand( IStorageStore storageStore, IEventStore eventStore, ITransactionValidationService transactionValidationService, DualTransactionData data) { this.storageStore = storageStore; this.eventStore = eventStore; this.transactionValidationService = transactionValidationService; this.data = data; }
public SingleTransactionCommand( IStorageStore storageStore, IEventStore eventStore, ITransactionValidationService transactionValidationService, SingleTransactionType type, SingleTransactionData data) { this.storageStore = storageStore; this.eventStore = eventStore; this.transactionValidationService = transactionValidationService; this.transaction = CreateTransaction(type, data); this.transactionEvent = CreateEvent(type, data); }
public CommandFactory( IStorageStore storageStore, IEventStore eventStore, ITransactionValidationService transactionValidationService, ISnapshot snapshot, IUserValidationService userValidationService) { this.storageStore = storageStore; this.eventStore = eventStore; this.transactionValidationService = transactionValidationService; this.snapshot = snapshot; this.userValidationService = userValidationService; }
public Factory(IStorageStore storageStore, IUserValidationService userValidationService) { this.storageStore = storageStore; this.userValidationService = userValidationService; }
public Query(IStorageStore storageStore, IUserValidationService userValidationService, string storageId) { this.storageStore = storageStore; this.userValidationService = userValidationService; this.storageId = storageId; }