Search Results for

    Show / Hide Table of Contents

    Class CollectionItem

    The base item that is used for an Item in a LemonEdge.Client.Core.Views.Core.DisplayableItemDescriptorForCollection<T> instance

    This item simply indicates that this is the type of entity to be loaded as a collection - it does not load anything itself so has no cost. That is the responsibility of the views in the IModelLayoutDisplayer for this item

    Inheritance
    object
    CollectionItem
    CollectionItemAny<T>
    CollectionItem<T>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.UI.API.Views
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public abstract class CollectionItem

    Constructors

    CollectionItem(EntityDescriptor)

    Creates a new collection item indicating the specified entity type to display

    Declaration
    protected CollectionItem(EntityDescriptor descriptor)
    Parameters
    Type Name Description
    EntityDescriptor descriptor

    The type of entity to be displayed as a collection

    Properties

    Descriptor

    The descriptor for the entity type this collection displays

    Declaration
    public EntityDescriptor Descriptor { get; }
    Property Value
    Type Description
    EntityDescriptor

    Items

    Sub-Items held by the parent item

    Declaration
    public IEnumerable Items { get; set; }
    Property Value
    Type Description
    IEnumerable

    Label

    The label to be used for the GetLabel()

    Returns the SetName for this Descriptor

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

    LabelOverride

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

    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.