/// <summary> /// Initializes a new instance of <see cref="HealthCheckManager" /> /// </summary> /// <param name="healthCheckDal">The health check dal</param> /// <param name="serverDal">The server dall</param> /// <param name="cloudProviderDal"></param> public HealthCheckManager(IHealthCheckDal healthCheckDal, IServerDal serverDal, ICloudProviderDal cloudProviderDal) { _healthCheckDal = healthCheckDal; _serverManager = new ServerManager(serverDal, cloudProviderDal); _queryLanguageManager = new QueryLanguageManager(); }
/// <summary> /// Initializes a new instance of <see cref="HealthCheckController" /> /// </summary> /// <param name="healthCheckDal">The health check dal</param> /// <param name="serverDal">The server dal</param> /// <param name="cloudProviderDal">The cloud provider dal</param> public HealthCheckController(IHealthCheckDal healthCheckDal, IServerDal serverDal, ICloudProviderDal cloudProviderDal) { _healthCheckManager = new HealthCheckManager(healthCheckDal, serverDal, cloudProviderDal); _serverManager = new ServerManager(serverDal, cloudProviderDal); }
/// <summary> /// Initializes a new instance of <see cref="ServerController" /> /// </summary> /// <param name="serverDal">The server dal</param> /// <param name="cloudProviderDal">The cloud provider dal</param> /// <param name="healthCheckDal">The health check dal</param> public ServerController(IServerDal serverDal, ICloudProviderDal cloudProviderDal, IHealthCheckDal healthCheckDal) { ServerManager = new ServerManager(serverDal, cloudProviderDal); HealthCheckManager = new HealthCheckManager(healthCheckDal, serverDal, cloudProviderDal); }