Class About
This command executes the About system command
Shows the about dialog box
Inherited Members
Namespace: LemonEdge.Client.Core.Commands
Assembly: LemonEdge.ClientCore.dll
Syntax
[CommandDescriptorOptions(Command.About, null)]
public class About : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable
Constructors
About(IRootController, IModelLayoutCommon, IAssemblyManager, IAutoUpdaterChecker)
Creates a new About command
Declaration
public About(IRootController root, IModelLayoutCommon owner, IAssemblyManager assemblyManager, IAutoUpdaterChecker autoUpdaterChecker)
Parameters
Type | Name | Description |
---|---|---|
IRootController | root | The root controller, for service access. |
IModelLayoutCommon | owner | The owning context for this command |
IAssemblyManager | assemblyManager | The assembly manager |
IAutoUpdaterChecker | autoUpdaterChecker | The auto update checker |
Methods
DisplayAbout(IWindow)
Displays the About dialog window to the user, including version, licensing and legal information
Declaration
public Task<bool> DisplayAbout(IWindow owner)
Parameters
Type | Name | Description |
---|---|---|
IWindow | owner | The owning parent window for the about dialog |
Returns
Type | Description |
---|---|
Task<bool> | A task indicating the completion of the operation |
InternalCanExecute(object)
Returns true, can always be run
Declaration
public override bool InternalCanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
object | parameter | The command parameter |
Returns
Type | Description |
---|---|
bool | True, can always be run |
Overrides
InternalExecuteAsync(object)
Displays the about dialog box
Declaration
public override Task InternalExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
object | parameter | The aommand parameter |
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |