CompanyFilesOverview Class

Page for managing the files of a company in the system, to be used by MobileTrack support users.

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.CompanyOverviews
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
[RouteAttribute("/admin/company/{companyId:guid}/fileoverview")]
public class CompanyFilesOverview : MtBaseComponent, 
	IHasAzureStorage
Inheritance
Object    ComponentBase    MtBaseComponent    CompanyFilesOverview
Implements
IHasAzureStorage

Constructors

CompanyFilesOverviewInitializes a new instance of the CompanyFilesOverview class

Properties

AddFolderModal Modal when we're creating a folder for the Azure Blob Storage of the customer CompanyDto.
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.
Dialog Confirmation dialog used when the user wants to delete a folder.
FilePreview Preview component to show the currently selected file in.
JsRuntime Dependency injection of the IJSRuntime JavaScript interop runtime.
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)
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))

See Also