Пример #1
0
 public StartActiveDirectorySynchronizationTask(IOptions <TaskManagementOptions> taskManagementOptions, ITaskManager taskManager)
 {
     _taskManagementOptions = taskManagementOptions?.Value ?? new TaskManagementOptions();
     _taskManager           = taskManager;
 }
Пример #2
0
 public TaskManagerBase(ITaskManagementClient client, IOptions <TaskManagementOptions> options)
 {
     _client  = client;
     _options = options?.Value ?? new TaskManagementOptions();
 }