public AlertDefinitionsController( IAlertDefinitionsService alertDefinitionsService, IMapper mapper) { _alertDefinitionsService = alertDefinitionsService ?? throw new ArgumentNullException(nameof(alertDefinitionsService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public AlertsPageViewModel( IAlertDefinitionsService alertDefinitionsService, INavigationService navigationService, ILogger logger) : base(navigationService, logger) { _alertDefinitionsService = alertDefinitionsService ?? throw new ArgumentNullException(nameof(alertDefinitionsService)); IsBusy = true; }
public EditAlertDefinitionPageViewModel( IAlertDefinitionsService alertDefinitionsService, INavigationService navigationService, ILogger logger) : base(navigationService, logger) { _alertDefinitionsService = alertDefinitionsService ?? throw new ArgumentNullException(nameof(alertDefinitionsService)); _alertDefinition = new AlertDefinition { RootCriteria = new AlertCriteria { Type = CriteriaType.Composite, Operator = CriteriaOperator.And } }; Title = "Create Alert Definition"; }
public EvaluateAlertFunction(IAlertDefinitionsService alertDetDefinitionsService) { _alertDetDefinitionsService = alertDetDefinitionsService; }