public class AccountEditor : MtBaseComponent,
IHasCloudEventsService, IHasUnsavedChanges| AccountEditor | Initializes a new instance of the AccountEditor class |
| AccountId | The ID of the AccountDto to display (derived from the URL). |
| ActiveTab | The tab to open when the editor is opened. |
| CloudEventsService | Dependency injected service to interop with Cloud Services, e.g. when the receiver gets a message from a device or when a new account is created, a device send a message to the receiver, etc. |
| ConfirmDialog | Modal for confirming an action |
| ConfirmSwitchTabDialog |
Dialog to confirm switching tabs when there are unsaved changes. |
| EditContext | The EditContext for the AccountDto being edited. |
| FormOverlay | Submit overlay for when saving the form. |
| HasUnsavedChanges | Whether the component has unsaved changes or not. This is used to determine if the user can navigate away from the page or not. |
| JsRuntime | Dependency injected JS Runtime. |
| MfaTwilioService | Injected Twilio service for MFA. |
| OriginalValue | Original AccountDto that is being edited. This variable is used to compare it to Model to see if changes were made. |
| 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) |
| 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) |
| RetrievePermissions |
Retrieves the permissions the user has for the scope of the current page/item
(Overrides MtBaseComponentRetrievePermissions) |