public JobController(IMessageBus messageBus, ITaskIdGenerator taskIdGenerator, IDayAssignProvider dayAssignProvider, IJobService jobService, IJobAssignProvider jobAssignProvider, IMemberService memberService, IDayAssignService dayAssignService, IJobStatusService jobStatusService, IJobStatusLogService jobStatusLogService, IWeekPlanService weekPlanService, IGuideCommentService guideCommentService) { this.messageBus = messageBus; this.taskIdGenerator = taskIdGenerator; this.dayAssignProvider = dayAssignProvider; this.jobService = jobService; this.jobAssignProvider = jobAssignProvider; this.memberService = memberService; this.dayAssignService = dayAssignService; this.jobStatusService = jobStatusService; this.jobStatusLogService = jobStatusLogService; this.weekPlanService = weekPlanService; this.guideCommentService = guideCommentService; this.janitorHubs = GlobalHost.ConnectionManager.GetHubContext <JanitorHub>(); this.managementHubs = GlobalHost.ConnectionManager.GetHubContext <ManagementHub>(); }
public WeekPlanService( IJobProvider jobProvider, IMemberService memberService, IGroupService groupService, IDayAssignService dayAssignService, IJobStatusLogService jobStatusLogService, IPathHelper pathHelper, IManagementDepartmentService managementDepartmentService, IJobService jobService, IAppSettingHelper appSettingHelper, IJobStatusService jobStatusService) { this.jobProvider = jobProvider; this.memberService = memberService; this.groupService = groupService; this.dayAssignService = dayAssignService; this.jobStatusLogService = jobStatusLogService; this.pathHelper = pathHelper; this.managementDepartmentService = managementDepartmentService; this.jobService = jobService; this.appSettingHelper = appSettingHelper; this.jobStatusService = jobStatusService; logger = LogManager.GetLogger("MoveExpiriedJobsLog"); }
public GatlingController(IBackgroundTaskQueue queue, FileService fileService, GatlingService gatlingService, IJobStatusService jobStatusService) { _queue = queue; _fileService = fileService; _gatlingService = gatlingService; _jobStatusService = jobStatusService; }
private FileUploadJobMetaDataModelBuilderService NewBuilder( IJobStatusService jobStatusService, ICloudStorageService cloudStorageService, IDateTimeProvider dateTimeProvider, IIndex <PersistenceStorageKeys, IFileService> fileService) { return(new FileUploadJobMetaDataModelBuilderService(jobStatusService, cloudStorageService, dateTimeProvider, fileService)); }
public QueuedHostedService(IBackgroundTaskQueue taskQueue, IJobStatusService jobStatusService, ILogger <QueuedHostedService> logger) { TaskQueue = taskQueue; _jobStatusService = jobStatusService; _logger = logger; }
public PeriodEndJobContextMessageHandler(IPaymentLogger logger, IEndpointInstanceFactory endpointInstanceFactory, IPeriodEndJobClient jobClient, IJobStatusService jobStatusService) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.endpointInstanceFactory = endpointInstanceFactory ?? throw new ArgumentNullException(nameof(endpointInstanceFactory)); this.jobClient = jobClient ?? throw new ArgumentNullException(nameof(jobClient)); this.jobStatusService = jobStatusService ?? throw new ArgumentNullException(nameof(jobStatusService)); }
public FileUploadJobMetaDataModelBuilderService( IJobStatusService jobStatusService, ICloudStorageService cloudStorageService, IDateTimeProvider dateTimeProvider, IIndex <PersistenceStorageKeys, IFileService> fileService) { _jobStatusService = jobStatusService; _cloudStorageService = cloudStorageService; _dateTimeProvider = dateTimeProvider; _fileService = fileService[PersistenceStorageKeys.DctAzureStorage]; }
public DayAssignService( IMessageBus messageBus, IJobAssignProvider jobAssignProvider, IDayAssignProvider dayAssignProvider, IJobStatusService jobStatusService, IMemberService memberService, IGroupService groupService, IRepository <DayAssign> dayAssignRepository) { this.messageBus = messageBus; this.jobAssignProvider = jobAssignProvider; this.dayAssignProvider = dayAssignProvider; this.jobStatusService = jobStatusService; this.memberService = memberService; this.groupService = groupService; this.dayAssignRepository = dayAssignRepository; }
public JobContextMessageHandler(IPaymentLogger logger, IFileService azureFileService, IJsonSerializationService serializationService, IEndpointInstanceFactory factory, IEarningsJobClientFactory jobClientFactory, ITelemetry telemetry, IBulkWriter <SubmittedLearnerAimModel> submittedAimWriter, ISubmittedLearnerAimBuilder submittedLearnerAimBuilder, ISubmittedLearnerAimRepository submittedLearnerAimRepository, IJobStatusService jobStatusService) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.azureFileService = azureFileService ?? throw new ArgumentNullException(nameof(azureFileService)); this.serializationService = serializationService ?? throw new ArgumentNullException(nameof(serializationService)); this.factory = factory ?? throw new ArgumentNullException(nameof(factory)); this.jobClientFactory = jobClientFactory ?? throw new ArgumentNullException(nameof(jobClientFactory)); this.telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry)); this.submittedAimWriter = submittedAimWriter; this.submittedLearnerAimBuilder = submittedLearnerAimBuilder; this.submittedLearnerAimRepository = submittedLearnerAimRepository; this.jobStatusService = jobStatusService; }
public OperationalTaskService( IMessageBus messageBus, ITaskIdGenerator taskIdGenerator, IJobAssignProvider jobAssignProvider, IDayAssignService dayAssignService, IJobProvider jobProvider, ICategoryService categoryService, IPathHelper pathHelper, IMemberService memberService, IJobStatusService jobStatusService, IJobService jobService) { this.messageBus = messageBus; this.taskIdGenerator = taskIdGenerator; this.jobAssignProvider = jobAssignProvider; this.dayAssignService = dayAssignService; this.jobProvider = jobProvider; this.categoryService = categoryService; this.pathHelper = pathHelper; this.memberService = memberService; this.jobStatusService = jobStatusService; this.jobService = jobService; }
public BackgroundTaskQueue(IJobStatusService jobStatusService) { _jobStatusService = jobStatusService; }
public JobStatusController(IJobStatusService jobStatusService, IMapper _mapper) { this._jobStatusProvider = jobStatusService; this._mapper = _mapper; }