public HealthMonitorTypeRegistry(IHealthMonitorTypeRepository repository) { _repository = repository; _monitorTypes = new ConcurrentDictionary <string, string>(_repository.LoadMonitorTypes().ToDictionary(t => t, t => t)); }
public HealthMonitorTypeRegistry(IHealthMonitorTypeRepository repository) { _repository = repository; _monitorTypes = new ConcurrentDictionary<string, string>(_repository.LoadMonitorTypes().ToDictionary(t => t, t => t)); RegisterMonitorType(PushMonitorType); }