コード例 #1
0
 public AgentService(
     IRepository <Agent> agentRepository,
     IRepository <Case> caseRepository,
     ITaskRouterManager taskRouter,
     IAppSettingsProvider appSettings,
     ILogger logger, AccountMatcher accountMatcher)
     : base(logger)
 {
     this.agentRepository = agentRepository;
     this.caseRepository  = caseRepository;
     this.taskRouter      = taskRouter;
     this.appSettings     = appSettings;
     this.accountMatcher  = accountMatcher;
 }
コード例 #2
0
 public CaseService(
     IRepository <Agent> agentRepository,
     IRepository <Case> caseRepository,
     IRepository <Transaction> transactionRepository,
     ITaskRouterManager taskRouter,
     IAppSettingsProvider appSettings,
     ILogger logger)
     : base(logger)
 {
     this.agentRepository       = agentRepository;
     this.caseRepository        = caseRepository;
     this.transactionRepository = transactionRepository;
     this.taskRouter            = taskRouter;
     this.appSettings           = appSettings;
 }