Search Results for

    Show / Hide Table of Contents

    Class ComplexDefinitionAttribute

    Can be marked against an interface to indicate this is a complex type used by LemonEdge and can be used in queries and the web service

    Inheritance
    object
    Attribute
    ComplexDefinitionAttribute
    Inherited Members
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Attributes
    Assembly: LemonEdge.API.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, Inherited = false)]
    public sealed class ComplexDefinitionAttribute : Attribute
    Remarks

    For Example:

    [Attributes.ComplexDefinition(ImageType.LemonEdge, "My Complex Type")]
    public interface IMyComplexType
    {
        public string ValueB { get; set; }
        public int ValueA { get; set; }
    }

    Constructors

    ComplexDefinitionAttribute(ImageType, string)

    Indicates this class or interface holds a complex type that can be used in queries and the web service using the specified default x and label

    Declaration
    public ComplexDefinitionAttribute(ImageType image, string label)
    Parameters
    Type Name Description
    ImageType image

    The default image used when the system shows the complex type in a result

    string label

    The default label to use when referring to this complex type

    ComplexDefinitionAttribute(string, string)

    Indicates this class or interface holds a complex type that can be used in queries and the web service using the specified default image and label

    Declaration
    public ComplexDefinitionAttribute(string imageID, string label)
    Parameters
    Type Name Description
    string imageID
    string label

    The default label to use when referring to this complex type

    See Also
    ICustomImage

    Properties

    HelpURL

    An optional url of a help file explaining this complex type and its functionality

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

    Image

    The id of the image to use when displaying this complex type to the user

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

    Label

    The default label to use when referring to this complex type

    Declaration
    public string Label { get; }
    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.