public MicroServiceHost(ServiceCollection services) { this.Id = Guid.NewGuid().ToString("N"); _services = services; _scheduleTaskManager = new ScheduleTaskManager(this); registerServices(); }
public ProcessExitHandler( TransactionDelegateCenter transactionDelegateCenter, ScheduleTaskManager scheduleTaskManager, ILogger <ProcessExitHandler> logger) { _transactionDelegateCenter = transactionDelegateCenter; _logger = logger; _scheduleTaskManager = scheduleTaskManager; }
public ProcessExitHandler( TransactionDelegateCenter transactionDelegateCenter, ScheduleTaskManager scheduleTaskManager, SafeTaskFactory safeTaskFactory, ILogger <ProcessExitHandler> logger) { this._safeTaskFactory = safeTaskFactory; _transactionDelegateCenter = transactionDelegateCenter; _logger = logger; _scheduleTaskManager = scheduleTaskManager; }