Search Results for

    Show / Hide Table of Contents

    Class ControlDisplayInfoFactory

    Inheritance
    object
    ControlDisplayInfoFactory
    Implements
    IControlDisplayInfoFactory
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class ControlDisplayInfoFactory : IControlDisplayInfoFactory

    Constructors

    ControlDisplayInfoFactory(IEntityDescriptorTemplate, ILogger<ControlDisplayInfoFactory>)

    Declaration
    public ControlDisplayInfoFactory(IEntityDescriptorTemplate entityDescriptorTemplate, ILogger<ControlDisplayInfoFactory> logger)
    Parameters
    Type Name Description
    IEntityDescriptorTemplate entityDescriptorTemplate
    ILogger<ControlDisplayInfoFactory> logger

    Methods

    Create(EntityDescriptor, bool, IReadOnlyCache, bool)

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

    Declaration
    public 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

    Implements

    IControlDisplayInfoFactory

    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.