Search Results for

    Show / Hide Table of Contents

    Class AnySingleCommandParam

    The command parameters for the menu command that can open an instance of any single item in the system

    Used by the ViewItem command

    Inheritance
    object
    SerializedParam
    CommandSerializedParam
    AnySingleCommandParam
    Implements
    ICloneable
    ICloneable<CommandSerializedParam>
    INotifyPropertyChanged
    Inherited Members
    CommandSerializedParam.Clone()
    CommandSerializedParam.CopyFromSource(CommandSerializedParam)
    SerializedParam.GetParam<T>(string)
    SerializedParam.GetParam<T>(byte[])
    SerializedParam.GetParam(string)
    SerializedParam.GetParam(string, bool)
    SerializedParam.GetParam(byte[])
    SerializedParam.ToSerializedString()
    SerializedParam.ToSerializedBytes()
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Client.Commands
    Assembly: LemonEdge.API.dll
    Syntax
    [DataContract]
    public class AnySingleCommandParam : CommandSerializedParam, ICloneable, ICloneable<CommandSerializedParam>, INotifyPropertyChanged

    Constructors

    AnySingleCommandParam()

    Declaration
    public AnySingleCommandParam()

    Properties

    CustomLayout

    When the item is opened, it can be displayed using the default layout for the user/team, or the id of a specific custom layout can be specified here

    Declaration
    public string CustomLayout { get; set; }
    Property Value
    Type Description
    string

    EntityID

    The unique id of the actual instance of the entity (of type EntityTypeID) to open

    Declaration
    public Guid EntityID { get; set; }
    Property Value
    Type Description
    Guid

    EntityIDFormula

    The formula that determines the unique id of the item

    Declaration
    public string EntityIDFormula { get; set; }
    Property Value
    Type Description
    string

    EntityID_Label

    If this entity type has a label field defined (LabelColumn ) then this holds the actual value of that field for the entity to be opened

    Declaration
    public string EntityID_Label { get; set; }
    Property Value
    Type Description
    string

    EntityTypeID

    The unique global id of the entity type to open

    Declaration
    public Guid EntityTypeID { get; set; }
    Property Value
    Type Description
    Guid

    Methods

    CopyFromParam(SerializedParam)

    Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified source

    Declaration
    protected override void CopyFromParam(SerializedParam source)
    Parameters
    Type Name Description
    SerializedParam source

    The source instance of a SerializedParam that is of the same type as this one to copy parameter values from

    Overrides
    CommandSerializedParam.CopyFromParam(SerializedParam)
    Remarks

    Used by the generic implementation of Clone()

    CreateNewParam()

    Must be implemented by inheriting classes to provide a new instance of the current class type.

    Used when cloning this SerializedParam to create a new instance of the same type

    Declaration
    protected override SerializedParam CreateNewParam()
    Returns
    Type Description
    SerializedParam

    A new instance of the current SerializedParam type

    Overrides
    CommandSerializedParam.CreateNewParam()

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    Implements

    ICloneable
    ICloneable<T>
    INotifyPropertyChanged

    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.