docs.unity.cn
    Show / Hide Table of Contents

    Class PropertyBag<TContainer>

    Base class for implementing a property bag for a specified container type. This is an abstract class.

    Inheritance
    Object
    PropertyBag<TContainer>
    ContainerPropertyBag<TContainer>
    Namespace: Unity.Properties
    Syntax
    public abstract class PropertyBag<TContainer> : object, IPropertyBag<TContainer>, IPropertyBag, IPropertyBagAccept, IContainerTypeAccept, IPropertyBagAccept<TContainer>, IPropertyEnumerable<TContainer>
    Type Parameters
    Name Description
    TContainer

    The container type.

    Remarks

    This is used as the base class internally and should NOT be extended.

    When implementing custom property bags use:

    • ContainerPropertyBag<TContainer>.
    • Unity.Properties.Internal.ListPropertyBag`2.
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 26, 2022
    Terms of use