Class AnyItemCommand
This command executes the ViewItem system command
Opens a collection of the specified entity type form the AnySingleCommandParam parameter
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
[CommandDescriptorOptions(Command.ViewItem, typeof(AnySingleCommandParam))]
public class AnyItemCommand : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable
Constructors
AnyItemCommand(IRootController, IModelLayoutCommon)
Creates a new AnyItemCOmmand command
Declaration
public AnyItemCommand(IRootController root, IModelLayoutCommon owner)
Parameters
| Type | Name | Description |
|---|---|---|
| IRootController | root | The root controller, for service access. |
| IModelLayoutCommon | owner | The owning context for this command |
Methods
InternalCanExecute(object)
True
Declaration
public override bool InternalCanExecute(object parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| object | parameter | The command parameter |
Returns
| Type | Description |
|---|---|
| bool | 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 |
|---|---|---|
| object | parameter | A serialized string instance of the AnySingleCommandParam paramter for this command |
Returns
| Type | Description |
|---|---|
| Task |