docs.unity3d.com
    Show / Hide Table of Contents

    Interface ICollectionPropertyBagVisitor

    Interface for visiting property bags.

    Namespace: Unity.Properties
    Syntax
    public interface ICollectionPropertyBagVisitor

    Methods

    Visit<TCollection, TElement>(ICollectionPropertyBag<TCollection, TElement>, ref TCollection)

    Implement this method to accept visitation for a collection of properties.

    Declaration
    void Visit<TCollection, TElement>(ICollectionPropertyBag<TCollection, TElement> properties, ref TCollection container)
        where TCollection : ICollection<TElement>
    Parameters
    Type Name Description
    ICollectionPropertyBag<TCollection, TElement> properties

    The properties of the container.

    TCollection container

    The container being visited.

    Type Parameters
    Name Description
    TCollection

    The list type.

    TElement

    The element type.

    Remarks

    This method is invoked by Accept(ICollectionPropertyBagVisitor, ref TContainer).

    Back to top
    Terms of use
    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