Esempio n. 1
0
 public DatabaseGateway(DatabaseContext databaseContext, IProcessDataGateway processDataGateway, ISystemTime systemTime)
 {
     _databaseContext    = databaseContext;
     _processDataGateway = processDataGateway;
     _workerGateway      = new WorkerGateway(databaseContext);
     _teamGateway        = new TeamGateway(databaseContext);
     _systemTime         = systemTime;
 }
 public InteractionsGateway(ICRMGateway CRMGateway, IMaTProcessAPIGateway MaTProcessAPI, IProcessDataGateway processDataGateway, IMaTProcessDataGateway maTProcessDataGateway)
 {
     _CRMGateway             = CRMGateway;
     _MaTProcessAPIGateway   = MaTProcessAPI;
     _processDataGateway     = processDataGateway;
     _MaTProcessDataGateway  = maTProcessDataGateway;
     enableDocumentDBSupport = Environment.GetEnvironmentVariable("EnableDocumentDBSupport") != null
         ? Environment.GetEnvironmentVariable("EnableDocumentDBSupport").ToString().ToLower() : "false";
 }
 public CaseRecordsUseCase(IProcessDataGateway processDataGateway, IDatabaseGateway databaseGateway, IMongoGateway mongoGateway)
 {
     _processDataGateway = processDataGateway;
     _databaseGateway    = databaseGateway;
     _mongoGateway       = mongoGateway;
 }
Esempio n. 4
0
 public ProcessDataUseCase(IProcessDataGateway processDataGateway)
 {
     _processDataGateway = processDataGateway;
 }