Search Results for

    Show / Hide Table of Contents

    Class EnumSwitchAttribute

    Inheritance
    object
    Attribute
    PropertyAttribute
    InspectorNameAttribute
    EnumSwitchAttribute
    Inherited Members
    InspectorNameAttribute.displayName
    PropertyAttribute.order
    PropertyAttribute.applyToCollection
    Attribute.Equals(object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.Match(object)
    Attribute.TypeId
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    [AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
    public class EnumSwitchAttribute : InspectorNameAttribute

    Constructors

    | Edit this page View Source

    EnumSwitchAttribute(Type, string, bool, int, bool)

    Declaration
    public EnumSwitchAttribute(Type enumType, string displayName = null, bool isFlag = false, int maxItemsPerRow = 0, bool evenlyDistributed = true)
    Parameters
    Type Name Description
    Type enumType
    string displayName
    bool isFlag
    int maxItemsPerRow
    bool evenlyDistributed

    Fields

    | Edit this page View Source

    enumType

    Declaration
    public readonly Type enumType
    Field Value
    Type Description
    Type
    | Edit this page View Source

    evenlyDistributed

    Declaration
    public readonly bool evenlyDistributed
    Field Value
    Type Description
    bool
    | Edit this page View Source

    isFlag

    Declaration
    public readonly bool isFlag
    Field Value
    Type Description
    bool
    | Edit this page View Source

    maxItemsPerRow

    Declaration
    public readonly int maxItemsPerRow
    Field Value
    Type Description
    int
    | Edit this page View Source

    rowCount

    Declaration
    public int rowCount
    Field Value
    Type Description
    int

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation