Step4 Class

Step 2 of create company wizard

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.Wizards
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public class Step4 : MtBaseComponent, IHasAzureStorage, 
	IHasCloudEventsService
Inheritance
Object    ComponentBase    MtBaseComponent    Step4
Implements
IHasAzureStorage, IHasCloudEventsService

Constructors

Step4Initializes a new instance of the Step4 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.
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.
Company Company we're creating
CompanyImageFile Company image file object to be used in the wizard
ItemsTree Items tree of ICompanyComponent for the company
KeyVault KeyVault service to use for key rotation in ProcessNewCompany
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)
SaveDone Pass value of _isSaveDone to the parent component

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
ProcessNewCompany After the user has reviewed the summary and wants to proceed, this method is invoked. It will cause the new company to be created in the database, along with all its items that have been entered in the ItemsTree beforehand

See Also