コード例 #1
0
 public AbstractWorkerTaskLeaseService(
     ILogger logger,
     IWorkerTaskLeaseRepository workerTaskLeaseRepository,
     IApiWorkerTaskLeaseRequestModelValidator workerTaskLeaseModelValidator,
     IBOLWorkerTaskLeaseMapper bolWorkerTaskLeaseMapper,
     IDALWorkerTaskLeaseMapper dalWorkerTaskLeaseMapper)
     : base()
 {
     this.workerTaskLeaseRepository     = workerTaskLeaseRepository;
     this.workerTaskLeaseModelValidator = workerTaskLeaseModelValidator;
     this.bolWorkerTaskLeaseMapper      = bolWorkerTaskLeaseMapper;
     this.dalWorkerTaskLeaseMapper      = dalWorkerTaskLeaseMapper;
     this.logger = logger;
 }
コード例 #2
0
 public WorkerTaskLeaseService(
     ILogger <IWorkerTaskLeaseRepository> logger,
     IWorkerTaskLeaseRepository workerTaskLeaseRepository,
     IApiWorkerTaskLeaseRequestModelValidator workerTaskLeaseModelValidator,
     IBOLWorkerTaskLeaseMapper bolworkerTaskLeaseMapper,
     IDALWorkerTaskLeaseMapper dalworkerTaskLeaseMapper
     )
     : base(logger,
            workerTaskLeaseRepository,
            workerTaskLeaseModelValidator,
            bolworkerTaskLeaseMapper,
            dalworkerTaskLeaseMapper)
 {
 }