Class ReflectedPropertyBag<TContainer> | Properties | 0.10.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ReflectedPropertyBag<TContainer>

    Inheritance
    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, ref TVisitor, ref ChangeTracker)

    Declaration
    public override void Accept<TVisitor>(ref TContainer container, ref 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
    String name
    TContainer container
    ChangeTracker changeTracker
    TCallback action
    Returns
    Type Description
    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 © 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