public AutopilotInfrastructureCoordinator( CoordinatorEnvironment environment, IAutopilotDMClient dmClient, IRepairManager repairManager, IHealthClient healthClient, Guid partitionId, long replicaId) { this.environment = environment.Validate("environment"); this.partitionId = partitionId; this.traceType = environment.CreateTraceType("Coordinator"); this.repairManager = repairManager.Validate("repairManager"); this.healthClient = healthClient.Validate("healthClient"); this.dmClient = new AutopilotDMClientWrapper(dmClient.Validate("dmClient")); this.configReader = new ConfigReader(environment.Config); }
public AutopilotDMClientWrapper(IAutopilotDMClient dmClient) { this.dmClient = dmClient.Validate("dmClient"); }