docs.unity3d.com
    Show / Hide Table of Contents

    Class DescriptorProvider

    Inheritance
    Object
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>
    DescriptorProvider
    Inherited Members
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.typesLock
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.instancesLock
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.CreateDecorator(Type, Object)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.typeset
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.definedDecoratorTypes
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.resolvedDecoratorTypes
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.HasDecorator(Type)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.TryGetDecoratorType(Type, Type)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.GetDecoratedType(Object)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.GetDecoratorType(Type)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.ResolveDecoratorType(Type)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.ResolveDecoratorTypeByHierarchy(Type, Boolean)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.decorators
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.decorateds
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.cache
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.IsValid(Object)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.GetDecorator(Object)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.GetDecorator<T>(Object)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.freeInterval
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.Free(IDescriptor)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.Free(IEnumerable<IDescriptor>)
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.FreeInvalid()
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.FreeAll()
    SingleDecoratorProvider<Object, IDescriptor, DescriptorAttribute>.Renew<TSpecificDecorator>(TSpecificDecorator, Object, Func<Object, TSpecificDecorator>)
    Namespace: Unity.VisualScripting
    Syntax
    public sealed class DescriptorProvider : SingleDecoratorProvider<object, IDescriptor, DescriptorAttribute>, IDisposable

    Properties

    cache

    Declaration
    protected override bool cache { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Unity.VisualScripting.SingleDecoratorProvider<System.Object, Unity.VisualScripting.IDescriptor, Unity.VisualScripting.DescriptorAttribute>.cache

    instance

    Declaration
    public static DescriptorProvider instance { get; }
    Property Value
    Type Description
    DescriptorProvider

    Methods

    AddListener(Object, Action)

    Declaration
    public void AddListener(object describable, Action onDescriptionChange)
    Parameters
    Type Name Description
    Object describable
    Action onDescriptionChange

    ClearListeners()

    Declaration
    public void ClearListeners()

    Describe(Object)

    Declaration
    public void Describe(object describable)
    Parameters
    Type Name Description
    Object describable

    DescribeAll()

    Declaration
    public void DescribeAll()

    Description(Object)

    Declaration
    public IDescription Description(object target)
    Parameters
    Type Name Description
    Object target
    Returns
    Type Description
    IDescription

    Description<TDescription>(Object)

    Declaration
    public TDescription Description<TDescription>(object target)
        where TDescription : IDescription
    Parameters
    Type Name Description
    Object target
    Returns
    Type Description
    TDescription
    Type Parameters
    Name Description
    TDescription

    Descriptor(Object)

    Declaration
    public IDescriptor Descriptor(object target)
    Parameters
    Type Name Description
    Object target
    Returns
    Type Description
    IDescriptor

    Descriptor<TDescriptor>(Object)

    Declaration
    public TDescriptor Descriptor<TDescriptor>(object target)
        where TDescriptor : IDescriptor
    Parameters
    Type Name Description
    Object target
    Returns
    Type Description
    TDescriptor
    Type Parameters
    Name Description
    TDescriptor

    Dispose()

    Declaration
    public void Dispose()

    IsValid(Object)

    Declaration
    public override bool IsValid(object described)
    Parameters
    Type Name Description
    Object described
    Returns
    Type Description
    Boolean
    Overrides
    Unity.VisualScripting.SingleDecoratorProvider<System.Object, Unity.VisualScripting.IDescriptor, Unity.VisualScripting.DescriptorAttribute>.IsValid(System.Object)

    RemoveListener(Object, Action)

    Declaration
    public void RemoveListener(object describable, Action onDescriptionChange)
    Parameters
    Type Name Description
    Object describable
    Action onDescriptionChange

    TriggerDescriptionChange(Object)

    Declaration
    public void TriggerDescriptionChange(object describable)
    Parameters
    Type Name Description
    Object describable

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023