Settings Class

Settings page for a MobileTrack user to set their personal SettingsDto

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
[RouteAttribute("/admin/settings")]
public class Settings : MtBaseComponent
Inheritance
Object    ComponentBase    MtBaseComponent    Settings

Constructors

SettingsInitializes a new instance of the Settings class

Properties

ColorSelectionModalRef Color selection modal reference
EditContext The EditContext for the settings form.
IsGoogleAuthEnabled Whether Google authentication is enabled.
IsMicrosoftAuthEnabled Whether Microsoft authentication is enabled.
IsSmsAuthEnabled Whether Sms authentication is enabled.
JsRuntime Dependency injection for the JavaScript runtime.
NewSettingsModel New settings model to update the user's settings with. If NewSettingsModel differs from OldSettingsModel, the user's settings will be updated.
OldSettingsModel Current settings model of the user.
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))
LoadData Loads the data that the component requires to get out of preview. It is invoked in the OnParametersSetAsync method of MtBaseComponent
(Overrides MtBaseComponentLoadData)
OnInitialized Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
(Overrides ComponentBaseOnInitialized)

See Also