Search Results for

    Show / Hide Table of Contents

    Class DefaultLayoutAttribute

    Any layout generator that derives from DefaultLayoutGenerator will only be included in GetDefaultLayoutGenerators() if it is marked with this attribute

    This specifies the layout is a default one to be used for certain layout/param combinations, and this attribute provides a priority for it to be used in

    Without this attribute the layout generator can only be used explicitly, it will not be automatically chosen by the system
    Inheritance
    object
    Attribute
    DefaultLayoutAttribute
    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.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.Client.Core.Views.DefaultLayouts.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    public class DefaultLayoutAttribute : Attribute

    Constructors

    DefaultLayoutAttribute()

    Marks this DefaultLayoutGenerator implementation as one that can be used by the system as a default layout.

    This will have a default priority of 0, meaning any other generator for the same layout with a higher priority will be chosen by the system instead of this one

    Declaration
    public DefaultLayoutAttribute()

    DefaultLayoutAttribute(int)

    Marks this DefaultLayoutGenerator implementation as one that can be used by the system (with the specified priority) as a default layout

    Declaration
    public DefaultLayoutAttribute(int priority)
    Parameters
    Type Name Description
    int priority

    The priority used to determine if this generator should be used versus another that works on the same layout/param. The highest priority will always be used. System default ones have a priority of 0.

    Properties

    Priority

    The priority used to determine if this generator should be used versus another that works on the same layout/param. The highest priority will always be used. System default ones have a priority of 0.

    Declaration
    public int Priority { get; }
    Property Value
    Type Description
    int

    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.