Class ReflectedPropertyBag<TContainer> | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class ReflectedPropertyBag<TContainer>

    Inheritance
    System.Object
    PropertyBag<TContainer>
    ReflectedPropertyBag<TContainer>
    Inherited Members
    PropertyBag<TContainer>.Accept<TVisitor>(Object, TVisitor, ChangeTracker)
    PropertyBag<TContainer>.Cast<TCallback>(TCallback)
    PropertyBag<TContainer>.FindProperty<TAction>(String, TContainer, ChangeTracker, TAction)
    Namespace: Unity.Properties.Reflection
    Syntax
    public class ReflectedPropertyBag<TContainer> : PropertyBag<TContainer>, IPropertyBag<TContainer>, IPropertyBag
    Type Parameters
    Name Description
    TContainer

    Methods

    Accept<TVisitor>(ref TContainer, TVisitor, ref ChangeTracker)

    Declaration
    public override void Accept<TVisitor>(ref TContainer container, TVisitor visitor, ref ChangeTracker changeTracker)
        where TVisitor : IPropertyVisitor
    Parameters
    Type Name Description
    TContainer container
    TVisitor visitor
    ChangeTracker changeTracker
    Type Parameters
    Name Description
    TVisitor
    Overrides
    Unity.Properties.PropertyBag<TContainer>.Accept<TVisitor>(TContainer, TVisitor, Unity.Properties.ChangeTracker)

    AddCollectionProperty<TProperty, TValue>(TProperty)

    Declaration
    public void AddCollectionProperty<TProperty, TValue>(TProperty property)
        where TProperty : ICollectionProperty<TContainer, TValue>
    Parameters
    Type Name Description
    TProperty property
    Type Parameters
    Name Description
    TProperty
    TValue

    AddProperty<TProperty, TValue>(TProperty)

    Declaration
    public void AddProperty<TProperty, TValue>(TProperty property)
        where TProperty : IProperty<TContainer, TValue>
    Parameters
    Type Name Description
    TProperty property
    Type Parameters
    Name Description
    TProperty
    TValue

    FindProperty<TCallback>(String, ref TContainer, ref ChangeTracker, ref TCallback)

    Declaration
    public override bool FindProperty<TCallback>(string name, ref TContainer container, ref ChangeTracker changeTracker, ref TCallback action)
        where TCallback : IPropertyGetter<TContainer>
    Parameters
    Type Name Description
    System.String name
    TContainer container
    ChangeTracker changeTracker
    TCallback action
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    TCallback
    Overrides
    Unity.Properties.PropertyBag<TContainer>.FindProperty<TAction>(System.String, TContainer, Unity.Properties.ChangeTracker, TAction)

    Extension Methods

    PropertyBagUtility.HasProperty<TContainer>(IPropertyBag<TContainer>, String)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX