Class MultiDecoratorProvider<TDecorated, TDecorator, TAttribute> | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class MultiDecoratorProvider<TDecorated, TDecorator, TAttribute>

    Inheritance
    Object
    MultiDecoratorProvider<TDecorated, TDecorator, TAttribute>
    FactoryProvider
    FuzzyOptionTreeExtensionProvider
    Namespace: Ludiq
    Syntax
    public abstract class MultiDecoratorProvider<TDecorated, TDecorator, TAttribute>
        where TAttribute : Attribute, IRegisterDecoratorAttribute
    Type Parameters
    Name Description
    TDecorated
    TDecorator
    TAttribute

    Constructors

    MultiDecoratorProvider()

    Declaration
    protected MultiDecoratorProvider()

    Fields

    definedDecoratorTypes

    Declaration
    protected readonly Dictionary<Type, HashSet<Type>> definedDecoratorTypes
    Field Value
    Type Description
    Dictionary<Type, HashSet<Type>>

    Properties

    registrationAssemblies

    Declaration
    protected virtual IEnumerable<Assembly> registrationAssemblies { get; }
    Property Value
    Type Description
    IEnumerable<Assembly>

    Methods

    ClearCache()

    Declaration
    public virtual void ClearCache()

    CreateDecorators(TDecorated)

    Declaration
    protected virtual IEnumerable<TDecorator> CreateDecorators(TDecorated decorated)
    Parameters
    Type Name Description
    TDecorated decorated
    Returns
    Type Description
    IEnumerable<TDecorator>

    DirectResolve(Type)

    Declaration
    protected IEnumerable<Type> DirectResolve(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    IEnumerable<Type>

    GenericResolve(Type)

    Declaration
    protected IEnumerable<Type> GenericResolve(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    IEnumerable<Type>

    GetDecoratedType(TDecorated)

    Declaration
    protected virtual Type GetDecoratedType(TDecorated decorated)
    Parameters
    Type Name Description
    TDecorated decorated
    Returns
    Type Description
    Type

    GetDecorators(TDecorated)

    Declaration
    public IEnumerable<TDecorator> GetDecorators(TDecorated decorated)
    Parameters
    Type Name Description
    TDecorated decorated
    Returns
    Type Description
    IEnumerable<TDecorator>

    GetDecorators<TSpecificDecorator>(TDecorated)

    Declaration
    public IEnumerable<TSpecificDecorator> GetDecorators<TSpecificDecorator>(TDecorated decorated)
        where TSpecificDecorator : TDecorator
    Parameters
    Type Name Description
    TDecorated decorated
    Returns
    Type Description
    IEnumerable<TSpecificDecorator>
    Type Parameters
    Name Description
    TSpecificDecorator

    GetDecoratorTypes(Type)

    Declaration
    public IEnumerable<Type> GetDecoratorTypes(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    IEnumerable<Type>

    HasDecorator(Type)

    Declaration
    public bool HasDecorator(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    ResolveDecoratorTypes(Type)

    Declaration
    protected virtual IEnumerable<Type> ResolveDecoratorTypes(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    IEnumerable<Type>

    ResolveDecoratorTypesByHierarchy(Type, Boolean)

    Declaration
    protected IEnumerable<Type> ResolveDecoratorTypesByHierarchy(Type type, bool inherit)
    Parameters
    Type Name Description
    Type type
    Boolean inherit
    Returns
    Type Description
    IEnumerable<Type>

    ShouldInvalidateDecorators(TDecorated)

    Declaration
    protected virtual bool ShouldInvalidateDecorators(TDecorated decorated)
    Parameters
    Type Name Description
    TDecorated decorated
    Returns
    Type Description
    Boolean

    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