Class AttributeUtility.AttributeCache | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class AttributeUtility.AttributeCache

    Inheritance
    Object
    AttributeUtility.AttributeCache
    Namespace: Ludiq
    Syntax
    public class AttributeCache

    Constructors

    AttributeCache(IAttributeProvider)

    Declaration
    public AttributeCache(IAttributeProvider element)
    Parameters
    Type Name Description
    IAttributeProvider element

    AttributeCache(Assembly)

    Declaration
    public AttributeCache(Assembly element)
    Parameters
    Type Name Description
    Assembly element

    AttributeCache(MemberInfo)

    Declaration
    public AttributeCache(MemberInfo element)
    Parameters
    Type Name Description
    MemberInfo element

    AttributeCache(ParameterInfo)

    Declaration
    public AttributeCache(ParameterInfo element)
    Parameters
    Type Name Description
    ParameterInfo element

    Methods

    GetAttribute(Type, Boolean)

    Declaration
    public Attribute GetAttribute(Type attributeType, bool inherit = true)
    Parameters
    Type Name Description
    Type attributeType
    Boolean inherit
    Returns
    Type Description
    Attribute

    GetAttribute<TAttribute>(Boolean)

    Declaration
    public TAttribute GetAttribute<TAttribute>(bool inherit = true)
        where TAttribute : Attribute
    Parameters
    Type Name Description
    Boolean inherit
    Returns
    Type Description
    TAttribute
    Type Parameters
    Name Description
    TAttribute

    GetAttributes(Type, Boolean)

    Declaration
    public IEnumerable<Attribute> GetAttributes(Type attributeType, bool inherit = true)
    Parameters
    Type Name Description
    Type attributeType
    Boolean inherit
    Returns
    Type Description
    IEnumerable<Attribute>

    GetAttributes<TAttribute>(Boolean)

    Declaration
    public IEnumerable<TAttribute> GetAttributes<TAttribute>(bool inherit = true)
        where TAttribute : Attribute
    Parameters
    Type Name Description
    Boolean inherit
    Returns
    Type Description
    IEnumerable<TAttribute>
    Type Parameters
    Name Description
    TAttribute

    HasAttribute(Type, Boolean)

    Declaration
    public bool HasAttribute(Type attributeType, bool inherit = true)
    Parameters
    Type Name Description
    Type attributeType
    Boolean inherit
    Returns
    Type Description
    Boolean

    HasAttribute<TAttribute>(Boolean)

    Declaration
    public bool HasAttribute<TAttribute>(bool inherit = true)
        where TAttribute : Attribute
    Parameters
    Type Name Description
    Boolean inherit
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TAttribute

    TryGetAttribute<TAttribute>(out TAttribute, Boolean)

    Declaration
    public bool TryGetAttribute<TAttribute>(out TAttribute attribute, bool inherit = true)
        where TAttribute : Attribute
    Parameters
    Type Name Description
    TAttribute attribute
    Boolean inherit
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TAttribute

    Extension Methods

    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    LiteralUtility.ToLiteralString(Object)
    LiteralUtility.ToLiteralStringOrDefault(Object)
    LiteralUtility.TryToLiteralString(Object, out String)
    XFilterProvider.Filter(Object)
    XFilterProvider.Filter<TFilter>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone(Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy(Object)
    Cloning.CloneViaSerializationPolicy(Object, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy<T>(T)
    Cloning.CloneViaSerializationPolicy<T>(T, out Dictionary<Object, Object>)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneValueType(Object)
    ConversionUtility.ConvertTo<TSource>(TSource, Type)
    ConversionUtility.IsLateConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsLateConvertibleTo<T>(Object, Boolean)
    ConversionUtility.LateConvertTo(Object, Type)
    ConversionUtility.LateConvertTo<T>(Object)
    ConversionUtility.TryLateConvertTo(Object, Type, out Object, Boolean)
    ConversionUtility.TryLateConvertTo<T>(Object, out T, Boolean)
    TypeUtility.ToShortString(Object, Int32)
    TypeUtility.CastTo<T>(Object)
    Serialization.FullSerialize(Object, Boolean)
    Serialization.OdinSerialize<T>(T, DataFormat)
    Serialization.OdinSerialize<T>(T, ref OdinSerializer.SerializationData, DataFormat)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.UnityNullCoalesce(Object, Object)
    UnityObjectUtility.ToSafeString(Object)
    BoltGenerationUtility.GenerateLiteral(Object, IGeneration)
    XGeneratorProvider.Generator(Object, IGeneration)
    XGeneratorProvider.Generator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.HasGenerator(Object, IGeneration)
    XGeneratorProvider.HasGenerator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.TryGetGenerator(Object, out IGenerator, IGeneration)
    XGeneratorProvider.TryGetGenerator<TGenerator>(Object, IGeneration, out TGenerator)
    HybridConversionUtility.ConvertTo(Object, HybridType, HybridType)
    HybridConversionUtility.IsLateConvertibleTo(Object, HybridType, Boolean)
    HybridConversionUtility.LateConvertTo(Object, HybridType)
    HybridConversionUtility.TryLateConvertTo(Object, HybridType, out Object, Boolean)
    HybridTypeUtility.GetHybridType(Object)
    IsUtility.Is<TO, TC>(TO, out TC)
    PrivateReflectionUsingDynamicExtensions.AsDynamic(Object)
    JsonWriter.ToJson(Object)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX