Class AnyCollectionCommand
This command executes the ViewItems system command
Opens a collection of the specified entity type form the AnyCollectionCommandParam parameter
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
[CommandDescriptorOptions(Command.ViewItems, typeof(AnyCollectionCommandParam))]
public class AnyCollectionCommand : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable
Constructors
AnyCollectionCommand(IRootController, IModelLayoutCommon)
Creates a new AnyCollectionCommand command
Declaration
public AnyCollectionCommand(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 AnyCollectionCommandParam parameter
Declaration
public override Task InternalExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
object | parameter | A serialized string instance of the AnyCollectionCommandParam paramter for this command |
Returns
Type | Description |
---|---|
Task |