FilePreview Class

Displays a file that was previously uploaded to the Azure Blob Storage.

Definition

Namespace: MobileTrack.Web.Portal.Components.Overviews
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public class FilePreview : MtBaseComponent, 
	IHasAzureStorage
Inheritance
Object    ComponentBase    MtBaseComponent    FilePreview
Implements
IHasAzureStorage

Constructors

FilePreviewInitializes a new instance of the FilePreview 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.
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))
SetFile Sets a file to display in the preview.

See Also