Пример #1
0
 public RegistryWatcherJob(
     ILogger <RegistryWatcherJob> log,
     RegistryClientPool registryClientPool,
     IApplicationService applicationService,
     IDeploymentService deploymentService
     )
 {
     _log = log;
     _registryClientPool = registryClientPool;
     _applicationService = applicationService;
     _deploymentService  = deploymentService;
 }
Пример #2
0
        public OperatorStartup(
            ILogger <OperatorStartup> log,
            IOptions <ShipbotConfiguration> configuration,
            RegistryClientPool registryClientPool,
            IApplicationService applicationService,
            IServiceProvider serviceProvider
            )
        {
            _log                = log;
            _configuration      = configuration;
            _registryClientPool = registryClientPool;
            _applicationService = applicationService;
            _serviceProvider    = serviceProvider;

            _cancelSource = new CancellationTokenSource();
        }