Step1 Class

First step of the wizard

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.Wizards
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public class Step1 : ComponentBase, IHasLocalization
Inheritance
Object    ComponentBase    Step1
Implements
IHasLocalization

Constructors

Step1Initializes a new instance of the Step1 class

Properties

BasicInfoEditContext Basic info EditContext for the company which includes the company name, general settings, etc.
Company Company we're creating
CompanyImageFile Company image file object to be used in the wizard
IconPreview Preview component for the icon
Loc Dependency injection for the localization tool. It derives texts established in CosmosDB's "LocalizedStrings" container. It can be used by invoking it as an array, with the key of the text you want to get. Parameters for the string can be added in the array as well, similar to Format(String, Object).
If the text is not found, it will return the key itself as fallback.

The language the key will be localized based on is based on the CurrentCulture and the CurrentUICulture.
If you want to localize something in a different language, you will have to apply the culture on the CultureInfo properties, get the text,
and revert back to the original culture.
LogoPreview Preview component for the logo
ServiceProvider Dependency injection for the service provider
Validator Property containing the validator to use.

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
OnParametersSetAsync Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
(Overrides ComponentBaseOnParametersSetAsync)
ValidateBasicInfo Invoked when the user invokes the EditForm for BasicInfoEditContext

See Also