AlertRules Class

Blazor component for managing and monitoring alert rules in the admin portal.

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.CompanyOverviews.AlertMonitor
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
[RouteAttribute("/admin/company/{companyId:guid}/alert/rules")]
public class AlertRules : MtBaseComponent
Inheritance
Object    ComponentBase    MtBaseComponent    AlertRules

Constructors

AlertRulesInitializes a new instance of the AlertRules class

Properties

AlertRuleEditContext Edit context
AlertRuleModel Model for the alert rule being created
AvailableAlertTypes List of available alert types that can be selected for the alert rule.
AvailableDevices Gets or sets the list of available devices.
ModalTitle The title displayed in the modal dialog.
NewAlertRuleModal Modal to create a new alert rule.
RequiredPermissionsForManage Lists the permissions the user needs to be able to manage the page/item
(Overrides MtBaseComponentRequiredPermissionsForManage)
RequiredPermissionsForView Lists the permissions the user needs to be able to view the page/item
(Overrides MtBaseComponentRequiredPermissionsForView)

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
OnInitializedAsync Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
(Overrides ComponentBaseOnInitializedAsync)
ShowAlertRuleModalAsync Shows the Alert rule modal.
ToggleDeviceSelection Toggles the selection of a device in the modal.
ToggleEventSelection Toggles the selection of an event type in the modal.

See Also