docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ReflectedPropertyBag<TContainer>

    Inheritance
    object
    PropertyBag<TContainer>
    ReflectedPropertyBag<TContainer>
    Implements
    IPropertyBag<TContainer>
    IPropertyBag
    Inherited Members
    PropertyBag<TContainer>.Accept<TVisitor>(ref object, TVisitor, ref ChangeTracker)
    PropertyBag<TContainer>.Cast<TCallback>(ref TCallback)
    PropertyBag<TContainer>.FindProperty<TAction>(string, ref TContainer, ref ChangeTracker, ref TAction)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Properties.Reflection
    Assembly: Unity.Properties.dll
    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
    PropertyBag<TContainer>.Accept<TVisitor>(ref TContainer, TVisitor, ref 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
    string name
    TContainer container
    ChangeTracker changeTracker
    TCallback action
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    TCallback
    Overrides
    PropertyBag<TContainer>.FindProperty<TAction>(string, ref TContainer, ref ChangeTracker, ref TAction)

    Implements

    IPropertyBag<TContainer>
    IPropertyBag

    Extension Methods

    PropertyBagUtility.HasProperty<TContainer>(IPropertyBag<TContainer>, string)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)