Search Results for

    Show / Hide Table of Contents

    Class MenuItemCommand

    A record for a pairing of IMenuItem and EPCommand.

    Inheritance
    object
    MenuItemCommand
    Implements
    IEquatable<MenuItemCommand>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.Client.UI.API.Controllers
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public record MenuItemCommand : IEquatable<MenuItemCommand>

    Constructors

    MenuItemCommand(IMenuItem, EPCommand?)

    A record for a pairing of IMenuItem and EPCommand.

    Declaration
    public MenuItemCommand(IMenuItem MenuItem, EPCommand? Command)
    Parameters
    Type Name Description
    IMenuItem MenuItem

    The IMenuItem

    EPCommand Command

    The EPCommand

    MenuItemCommand(MenuItemCommand)

    Declaration
    protected MenuItemCommand(MenuItemCommand original)
    Parameters
    Type Name Description
    MenuItemCommand original

    Properties

    Command

    The EPCommand

    Declaration
    public EPCommand? Command { get; init; }
    Property Value
    Type Description
    EPCommand

    EqualityContract

    Declaration
    protected virtual Type EqualityContract { get; }
    Property Value
    Type Description
    Type

    MenuItem

    The IMenuItem

    Declaration
    public IMenuItem MenuItem { get; init; }
    Property Value
    Type Description
    IMenuItem

    Methods

    Deconstruct(out IMenuItem, out EPCommand?)

    Declaration
    public void Deconstruct(out IMenuItem MenuItem, out EPCommand? Command)
    Parameters
    Type Name Description
    IMenuItem MenuItem
    EPCommand Command

    Equals(MenuItemCommand?)

    Declaration
    public virtual bool Equals(MenuItemCommand? other)
    Parameters
    Type Name Description
    MenuItemCommand other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    PrintMembers(StringBuilder)

    Declaration
    protected virtual bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    <Clone>$()

    Declaration
    public virtual MenuItemCommand <Clone>$()
    Returns
    Type Description
    MenuItemCommand

    Operators

    operator ==(MenuItemCommand?, MenuItemCommand?)

    Declaration
    public static bool operator ==(MenuItemCommand? left, MenuItemCommand? right)
    Parameters
    Type Name Description
    MenuItemCommand left
    MenuItemCommand right
    Returns
    Type Description
    bool

    operator !=(MenuItemCommand?, MenuItemCommand?)

    Declaration
    public static bool operator !=(MenuItemCommand? left, MenuItemCommand? right)
    Parameters
    Type Name Description
    MenuItemCommand left
    MenuItemCommand right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>

    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.