public class CompanyEditor : MtBaseComponent,
IHasUnsavedChanges, IHasAzureStorage| CompanyEditor | Initializes a new instance of the CompanyEditor class |
| ActiveTab | The tab to open when the editor is opened. |
| AzureFileStorage |
Dependency injection of the IAzureStorage Azure Blob Storage service. Every CompanyDto, except for MobileTrack itself (for now?) has their own folder in the blob storage to store files in. This can be their logo or icon files, images representing users or Devices, or attachments they want to store. It can also be used to store reports in generated by MobileTrack Nexus. |
| ConfirmModal | Confirm modal |
| EditContext | Edit Context for the EditForm, it is based on Model. |
| 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. |
| KeyVault | Azure Key Vault service to use for key rotation in ConfirmRotateCompanyKey |
| Model | Model the user is editing in the EditForm |
| OriginalValue | Original company model to compare changes against. |
| 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)) |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Overrides MtBaseComponentDispose) |
| LoadData |
Loads the data that the component requires to get out of preview.
It is invoked in the OnParametersSetAsync method of MtBaseComponent (Overrides MtBaseComponentLoadData) |
| OnAfterRenderAsync |
Method invoked after each time the component has been rendered interactively and the UI has finished
updating (for example, after elements have been added to the browser DOM). Any ElementReference
fields will be populated by the time this runs.
This method is not invoked during prerendering or server-side rendering, because those processes
are not attached to any live browser DOM and are already complete before the DOM is updated.
Note that the component does not automatically re-render after the completion of any returned Task,
because that would cause an infinite render loop.
(Overrides ComponentBaseOnAfterRenderAsync(Boolean)) |
| OnInitialized |
Method invoked when the component is ready to start, having received its
initial parameters from its parent in the render tree.
(Overrides ComponentBaseOnInitialized) |