docs.unity.cn
    Show / Hide Table of Contents

    Interface IPropertyBag

    Base untyped interface for implementing property bags.

    Namespace: Unity.Properties
    Syntax
    public interface IPropertyBag

    Methods

    Accept(IPropertyBagVisitor, ref Object)

    Call this method to invoke Visit<TContainer>(IPropertyBag<TContainer>, ref TContainer) with the strongly typed container for the given object.

    Declaration
    void Accept(IPropertyBagVisitor visitor, ref object container)
    Parameters
    Type Name Description
    IPropertyBagVisitor visitor

    The visitor to invoke the visit callback on.

    Object container

    The container being visited.

    Accept(ITypeVisitor)

    Call this method to invoke Visit<TContainer>() with the strongly typed container type.

    Declaration
    void Accept(ITypeVisitor visitor)
    Parameters
    Type Name Description
    ITypeVisitor visitor

    The visitor being run.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 26, 2023