コード例 #1
0
 /// <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();
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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);
 }