docs.unity3d.com
    Show / Hide Table of Contents

    Interface ICollectionPropertyAccept<TCollection>

    Interface for accepting collection property visitation.

    Namespace: Unity.Properties
    Syntax
    public interface ICollectionPropertyAccept<TCollection>
    Type Parameters
    Name Description
    TCollection

    The collection type.

    Methods

    Accept<TContainer>(ICollectionPropertyVisitor, Property<TContainer, TCollection>, ref TContainer, ref TCollection)

    Call this method to invoke Visit<TContainer, TCollection, TElement>(Property<TContainer, TCollection>, ref TContainer, ref TCollection).

    Declaration
    void Accept<TContainer>(ICollectionPropertyVisitor visitor, Property<TContainer, TCollection> property, ref TContainer container, ref TCollection collection)
    Parameters
    Type Name Description
    ICollectionPropertyVisitor visitor

    The visitor being run.

    Property<TContainer, TCollection> property

    The property being visited.

    TContainer container

    The container being visited.

    TCollection collection

    The collection value

    Type Parameters
    Name Description
    TContainer

    The container type.

    Remarks

    This method is used to join the container type and element type.

    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