public AlertService(IAlertFactory alertFactory) { _alertFactory = alertFactory; _alertCached.Clear(); foreach (var type in (AlertType[])Enum.GetValues(typeof(AlertType))) { _alertCached.Add(type, _alertFactory.Create(type)); } }
protected GpuThresholdScanner(IAlertFactory alertFactory) { _alertFactory = alertFactory; }
public GpuFanSpeedThresholdScanner(IAlertFactory alertFactory) : base(alertFactory) { }
public ConnectivityScanner(IAlertFactory alertFactory) { _alertFactory = alertFactory; }
public GpuTemperatureThresholdScanner(IAlertFactory alertFactory) : base(alertFactory) { }
public HashrateScanner(IAlertFactory alertFactory) { _alertFactory = alertFactory; }
public GpuHashrateThresholdScanner(IAlertFactory alertFactory) : base(alertFactory) { }