Search Results for

    Show / Hide Table of Contents

    Interface IEPCommand

    The core LemonEdge Command interface, implemented by the base EPCommand

    Inherits from ICommand so that this can be used against any UI component in any type of client application as the command

    Inherited Members
    ICommand.CanExecute(object)
    ICommand.Execute(object)
    ICommand.CanExecuteChanged
    Namespace: LemonEdge.Client.Core.Commands.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IEPCommand : ICommand

    Properties

    IsQuickAccessCommand

    Indicates this command should also be available in a quick access manner if the ui permits it to be highlighted and seperated for quick access among a group of other commands

    For instance in the desktop application view commands are accessible from a drop down menu by default, but if this is true they are also directly accessible from the view itself

    Declaration
    bool IsQuickAccessCommand { get; }
    Property Value
    Type Description
    bool

    Key

    Indicates the command key to use for executing this from a keyboard command

    Declaration
    KeyboardKey Key { get; }
    Property Value
    Type Description
    KeyboardKey

    ModifierKeys

    Indicates the modifier keys to be used with Key when executing this command from the keyboard

    Declaration
    KeyboardModifierKeys ModifierKeys { get; }
    Property Value
    Type Description
    KeyboardModifierKeys

    Owner

    The host owning context of this command

    Declaration
    IModelLayoutCommon Owner { get; }
    Property Value
    Type Description
    IModelLayoutCommon

    Toggler

    If this command can toggle between two states, then this toggler implementation provides a mechanism for the command to react to the toggled state changing

    Declaration
    IHasToggleStatus Toggler { get; }
    Property Value
    Type Description
    IHasToggleStatus

    Methods

    OnCanExecuteChanged()

    Provides a mechanism for the command to raise its CanExecuteChanged event

    Declaration
    void OnCanExecuteChanged()

    Extension Methods

    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.