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
    System.Object
    System.Attribute
    ComplexDefinitionAttribute
    Inherited Members
    System.Attribute.Equals(System.Object)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetHashCode()
    System.Attribute.IsDefaultAttribute()
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.Match(System.Object)
    System.Attribute.TypeId
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API.Attributes
    Assembly: API.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
    public sealed class ComplexDefinitionAttribute : Attribute
    Remarks

    For Example:

    [Attributes.ComplexDefinition(Client.Core.Images.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 image 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

    System.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
    System.String imageID
    System.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
    System.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
    System.Guid

    Label

    The default label to use when referring to this complex type

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

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.