Exemple #1
0
 public FinancialService(
     IEventStore eventStore,
     ReadStoreContext context,
     INotificationService notifiactions,
     IEnumerable <IFinancialDataExtractor> dataExtractors,
     ICryptoService cryptoService)
 {
     _eventStore     = eventStore;
     _context        = context;
     _notifications  = notifiactions;
     _dataExtractors = dataExtractors;
     _cryptoService  = cryptoService;
 }
Exemple #2
0
 public HomeBoxService(
     IEwelinkClient ewelinkClient,
     INotificationService notifications,
     IEventStore eventStore,
     ReadStoreContext readStore,
     IMemoryCache memoryCache)
 {
     _ewelinkClient = ewelinkClient;
     _notifications = notifications;
     _eventStore    = eventStore;
     _readStore     = readStore;
     _memoryCache   = memoryCache;
     _deviceTypes   = new Dictionary <int, HomeBoxDeviceType>
     {
         { 1, HomeBoxDeviceType.Switch },
         { 59, HomeBoxDeviceType.RgbLight },
         { 104, HomeBoxDeviceType.RgbwLight }
     };
 }
Exemple #3
0
 public HomeBoxEventHandlers(ReadStoreContext context)
 {
     _context = context;
 }
 public RedirectionEventHandler(ReadStoreContext context)
 {
     _context = context;
 }
Exemple #5
0
 public FinancialEventHandlers(ReadStoreContext context)
 {
     _context = context;
 }
 public SecretVaultEventHandler(ReadStoreContext context)
 {
     _context = context;
 }
 public BackupProcessManager(IEventStore es, EventStoreContext esContext, ReadStoreContext rsContext)
 {
     _es        = es;
     _esContext = esContext;
     _rsContext = rsContext;
 }