Class About
This command executes the About system command
Shows the about dialog box
Implements
System.Windows.Input.ICommand
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Commands
Assembly: ClientCore.dll
Syntax
[CommandDescriptorOptions(Commands.About, null)]
public class About : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable
Constructors
About(IModelLayoutCommon)
Creates a new About command
Declaration
public About(IModelLayoutCommon owner)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | owner | The owning context for this command |
Methods
DisplayAbout(IWindow)
Displays the About dialog window to the user, including version, licensing and legal information
Declaration
public static Task<bool> DisplayAbout(IWindow owner)
Parameters
Type | Name | Description |
---|---|---|
IWindow | owner | The owning parent window for the about dialog |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | 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 |
---|---|---|
System.Object | parameter | The command parameter |
Returns
Type | Description |
---|---|
System.Boolean | True, can always be run |
Overrides
InternalExecuteAsync(Object)
Displays the about dialog box
Declaration
public override Task InternalExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | The aommand parameter |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |
Overrides
Implements
System.Windows.Input.ICommand
System.IDisposable