Search Results for

    Show / Hide Table of Contents

    Interface IControlDisplayInfoFactory

    Namespace: LemonEdge.Client.UI.API.Controls
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public interface IControlDisplayInfoFactory

    Methods

    Create(EntityDescriptor, bool, IReadOnlyCache, bool)

    Creates a set of control definitions for all the exportable properties against the specified entity type

    Declaration
    Task<IEnumerable<ControlDisplayInfo>> Create(EntityDescriptor desc, bool editable, IReadOnlyCache cache, bool allVisible = true)
    Parameters
    Type Name Description
    EntityDescriptor desc

    The entity type to automatically return all the default controls for

    bool editable

    Indicates if the controls should be editable by the user or not

    IReadOnlyCache cache

    A cache

    bool allVisible

    Indicates system properties should be visible as well

    Returns
    Type Description
    Task<IEnumerable<ControlDisplayInfo>>

    The set of controls for every exportable property against the specified entity desc

    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.