Class ViewCommand
The base command for all view commands in the LemonEdge platform, that can be part of a views LemonEdge.Client.Core.Views.Core.ModelViewController.Commands collection
Inheritance
ViewCommand
Implements
Inherited Members
Namespace: LemonEdge.Client.UI.API.Views.Commands
Assembly: LemonEdge.Client.UI.API.dll
Syntax
public abstract class ViewCommand : EPCommandWithDescriptor, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
Constructors
ViewCommand(IRootController, IModelLayoutCommon?, EPCommandWithDescriptor?)
Creates a new EPCommand, with the app controller, for when the owner is not available.
Declaration
protected ViewCommand(IRootController root, IModelLayoutCommon? owner = null, EPCommandWithDescriptor? parent = null)
Parameters
Type | Name | Description |
---|---|---|
IRootController | root | The application controller, for service access |
IModelLayoutCommon | owner | The owning context this command operates within |
EPCommandWithDescriptor | parent | An optional parent command if this command is a child command |
Properties
IncludeInSimple
By default view commands are included in any simple layout filtering of commands if they are part of the quick access
Declaration
public virtual bool IncludeInSimple { get; }
Property Value
Type | Description |
---|---|
bool |
Type
Indicates this is a ViewSpecific command, and is not globally unique
Declaration
public override Guid Type { get; }
Property Value
Type | Description |
---|---|
Guid |