Settings 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+45c8d9adb5970d727cceec44a5ed61aea0016e50
[RouteAttribute("/settings")]
public class Settings : MtBaseComponent
Inheritance
Object    ComponentBase    MtBaseComponent    Settings

Constructors

SettingsInitializes a new instance of the Settings 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