Search Results for

    Show / Hide Table of Contents

    Class EPCommandWithDescriptor

    The base command for all commands with descriptors in the LemonEdge platform, implementing the IEPCommandWithDescriptor interface

    Inheritance
    object
    BaseHasChildren<EPCommandWithDescriptor>
    EPCommand
    EPCommandWithDescriptor
    CreateAndUseCanvas
    Help
    Import
    LoadFavourite
    RecentItems
    Save
    SwitchCanvas
    SwitchRole
    SwitchSafe
    SwitchTeam
    SwitchTheme
    ViewCommand
    CancelTask
    Implements
    IHasChildren<EPCommandWithDescriptor>
    IHasChildren
    IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    ICommand
    ICommandDescriptor
    Inherited Members
    EPCommand.OnCanExecuteChanged()
    EPCommand.LoadChildrenAsync()
    EPCommand.SetToggler(IHasToggleStatus)
    EPCommand.OnLayoutsChanged(IModelLayoutHost, LayoutChangeEventArgs)
    EPCommand.ExternalExecute(object)
    EPCommand.InternalExecute(object)
    EPCommand.InternalExecuteAsync(object)
    EPCommand.ExternalCanExecute(object)
    EPCommand.InternalCanExecute(object)
    EPCommand.InternalCanExecuteAsync(object)
    EPCommand.GetModifierText(IEPCommand)
    EPCommand.RemoveEventHandlersOnDispose()
    EPCommand.Dispose(bool)
    EPCommand.Dispose()
    EPCommand.ActiveDisplayerFromOwner
    EPCommand.ReloadChildrenOnEachOpen
    EPCommand.HasChildCommands
    EPCommand.Seperator
    EPCommand.SubscribeToLayoutChange
    EPCommand.From
    EPCommand.LockExecution
    EPCommand.CustomType
    EPCommand.Owner
    EPCommand.Toggler
    EPCommand.Key
    EPCommand.ModifierKeys
    EPCommand.IsQuickAccessCommand
    EPCommand.CanExecuteChanged
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(EPCommandWithDescriptor, bool)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.ClearChildren()
    BaseHasChildren<EPCommandWithDescriptor>.ClearMyParent()
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.Order
    BaseHasChildren<EPCommandWithDescriptor>.Children
    BaseHasChildren<EPCommandWithDescriptor>.Parent
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Commands.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public abstract class EPCommandWithDescriptor : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor

    Constructors

    EPCommandWithDescriptor(IModelLayoutCommon, EPCommandWithDescriptor)

    Creates a new EPCommandWithDescriptor

    Declaration
    public EPCommandWithDescriptor(IModelLayoutCommon owner, EPCommandWithDescriptor parent = null)
    Parameters
    Type Name Description
    IModelLayoutCommon owner

    The owning context this command operates within

    EPCommandWithDescriptor parent

    An optional parent command if this command is a child command

    Properties

    Description

    A user friendly description of this command

    Declaration
    public abstract string Description { get; }
    Property Value
    Type Description
    string

    HelpURL

    An optional url for help documentation around this commands function

    Declaration
    public virtual string HelpURL { get; }
    Property Value
    Type Description
    string

    IconID

    The image to use for this command, either a ImageType or ImageID

    Declaration
    public virtual Guid IconID { get; }
    Property Value
    Type Description
    Guid

    OverlayIconID

    On some clients another image can be overlayed on the bottom right of the main icon (for indicating add, remove, etc)

    This optional overlay image can be specified here, either a ImageType or ImageID

    Declaration
    public virtual Guid? OverlayIconID { get; }
    Property Value
    Type Description
    Guid?

    Parameter

    Any parameter for this command, deriving from CommandSerializedParam

    Declaration
    public virtual string Parameter { get; }
    Property Value
    Type Description
    string

    Title

    The title of this command

    Declaration
    public abstract string Title { get; }
    Property Value
    Type Description
    string

    ToolTip

    A user friendly tool tip for this command functionality, by default the Description

    Declaration
    public virtual string ToolTip { get; }
    Property Value
    Type Description
    string

    Type

    A globally unique id to identify this command in uniquel in the main menu. Comes from Type if it came from the standard set, but can be any id for custom commands, or Guid.Empty otherwise

    Declaration
    public virtual Guid Type { get; }
    Property Value
    Type Description
    Guid

    Implements

    IHasChildren<T>
    IHasChildren
    IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    ICommand
    ICommandDescriptor

    Extension Methods

    CommandExtensions.CreateCommand(EPCommand, ICommandDescriptor, CommandButtonType, bool, CommandSize)
    CommandExtensions.UpdateCommand(EPCommand, object, ICommandDescriptor, bool, CommandSize)
    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.