Class AnyItemCommand
This command executes the ViewItem system command
Opens a collection of the specified entity type form the AnySingleCommandParam parameter
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.Core
Assembly: ClientCore.dll
Syntax
[CommandDescriptorOptions(Commands.ViewItem, typeof(AnySingleCommandParam))]
public class AnyItemCommand : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable
Constructors
AnyItemCommand(IModelLayoutCommon)
Creates a new AnyItemCOmmand command
Declaration
public AnyItemCommand(IModelLayoutCommon owner)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | owner | The owning context for this command |
Methods
InternalCanExecute(Object)
True
Declaration
public override bool InternalCanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | The command parameter |
Returns
Type | Description |
---|---|
System.Boolean | True |
Overrides
InternalExecuteAsync(Object)
Opens a collection item of the entity type specified from the parameter
serialized string of the AnySingleCommandParam parameter
Declaration
public override Task InternalExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | A serialized string instance of the AnySingleCommandParam paramter for this command |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Implements
System.Windows.Input.ICommand
System.IDisposable