UserSettings Class

Settings page for the user to modify their SettingsDto.

Definition

Namespace: MobileTrack.Web.Portal.Pages
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
[RouteAttribute("/settings")]
public class UserSettings : MtBaseComponent
Inheritance
Object    ComponentBase    MtBaseComponent    UserSettings

Constructors

UserSettingsInitializes a new instance of the UserSettings class

Properties

EditContext Edit form for the settings.
JsRuntime Dependency injection for the JavaScript runtime.
NewSettingsModel New settings model to update.
OldSettingsModel Original settings of the user. This will be compared to NewSettingsModel to determine if the settings have changed.
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)

See Also