Companies Class

List of all active customer companies.

Definition

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

Constructors

CompaniesInitializes a new instance of the Companies class

Properties

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.
ConfirmDialog Modal for confirming an action
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))
DisposePerforms 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)

See Also