Search Results for

    Show / Hide Table of Contents

    Class ComplexTypeDescriptor

    Holds the description of any interface marked with the ComplexDefinitionAttribute attribute

    This holds the interface and class types for the complex type along with a label and default image

    This should not be confused with an EntityDescriptor which holds the definition for an actual entity that is stored in the database. ComplexTypes are used for reporting data only
    Inheritance
    object
    ComplexTypeDescriptor
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Descriptors
    Assembly: LemonEdge.API.dll
    Syntax
    public class ComplexTypeDescriptor

    Constructors

    ComplexTypeDescriptor()

    Declaration
    public ComplexTypeDescriptor()

    Properties

    HelpURL

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

    Image

    The default image associated with this type in the UI

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

    InstanceType

    The type of the class that actually implements the interface definition. This should have a parameterless public constructor

    Declaration
    public Type InstanceType { get; set; }
    Property Value
    Type Description
    Type

    InterfaceType

    The interface type for this complex type

    Declaration
    public Type InterfaceType { get; set; }
    Property Value
    Type Description
    Type

    Label

    The default label for referring to this complex type in the UI

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

    Methods

    Deconstruct(out Type, out Type, out string, out Guid)

    Declaration
    public void Deconstruct(out Type InterfaceType, out Type InstanceType, out string Label, out Guid Image)
    Parameters
    Type Name Description
    Type InterfaceType
    Type InstanceType
    string Label
    Guid Image

    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.