Property | Type | Description | |
---|---|---|---|
ApplyLicense | void | ||
DetectLicenseMode | void | ||
LoadAndApplyLicense | void | ||
OnAboutSiteClickExecute | void | ||
OnLicenseModeChanged | void | ||
OnPasteExecuteAsync | Task | ||
OnPurchaseLinkClickExecute | void | ||
OnRemoveLicenseCanExecute | bool | ||
OnRemoveLicenseExecuteAsync | Task | ||
OnShowClipboardExecute | void | ||
UpdateLicenseInfo | void |
Method | Description | |
---|---|---|
LicenseViewModel ( LicenseInfo licenseInfo, INavigationService navigationService, IProcessService processService, ILicenseService licenseService, ILicenseValidationService licenseValidationService, IUIVisualizerService uiVisualizerService, IMessageService messageService ) : System |
Initializes a new instance of the LicenseViewModel class.
|
Method | Description | |
---|---|---|
CancelAsync ( ) : Task |
||
InitializeAsync ( ) : Task |
Initializes the view model. Normally the initialization is done in the constructor, but sometimes this must be delayed to a state where the associated UI element (user control, window, ...) is actually loaded. It's not recommended to implement the initialization of properties in this method. The initialization of properties should be done in the constructor. This method should be used to start the retrieval of data from a web service or something similar. |
|
SaveAsync ( ) : Task |
Method | Description | |
---|---|---|
ApplyLicense ( string licenseKey ) : void | ||
DetectLicenseMode ( ) : void | ||
LoadAndApplyLicense ( ) : void | ||
OnAboutSiteClickExecute ( ) : void |
Method to invoke when the AboutSiteClick command is executed.
|
|
OnLicenseModeChanged ( ) : void | ||
OnPasteExecuteAsync ( ) : Task |
Method to invoke when the Paste command is executed. Validates the license and xml,
|
|
OnPurchaseLinkClickExecute ( ) : void |
Method to invoke when the PurchaseLinkClick command is executed.
|
|
OnRemoveLicenseCanExecute ( ) : bool | ||
OnRemoveLicenseExecuteAsync ( ) : Task |
Method to invoke when the RemoveLicense command is executed.
|
|
OnShowClipboardExecute ( ) : void |
Method to invoke when the ShowClipboard command is executed.
|
|
UpdateLicenseInfo ( ) : void |
public LicenseViewModel ( LicenseInfo licenseInfo, INavigationService navigationService, IProcessService processService, ILicenseService licenseService, ILicenseValidationService licenseValidationService, IUIVisualizerService uiVisualizerService, IMessageService messageService ) : System | ||
licenseInfo | LicenseInfo | The single license model. |
navigationService | INavigationService | The navigation service. |
processService | IProcessService | The process service. |
licenseService | ILicenseService | The license service. |
licenseValidationService | ILicenseValidationService | The license validation service. |
uiVisualizerService | IUIVisualizerService | The uiVisualizer service. |
messageService | IMessageService | The message service. |
return | System |