Class AnyCollectionCommand
This command executes the ViewItems system command
Opens a collection of the specified entity type form the AnyCollectionCommandParam 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.ViewItems, typeof(AnyCollectionCommandParam))]
public class AnyCollectionCommand : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable
Constructors
AnyCollectionCommand(IModelLayoutCommon)
Creates a new AnyCollectionCOmmand command
Declaration
public AnyCollectionCommand(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 AnyCollectionCommandParam parameter
Declaration
public override Task InternalExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | A serialized string instance of the AnyCollectionCommandParam paramter for this command |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Implements
System.Windows.Input.ICommand
System.IDisposable