docs.unity3d.com
    Show / Hide Table of Contents

    Interface IListPropertyVisitor

    Interface for receiving strongly typed property callbacks for lists.

    Namespace: Unity.Properties
    Syntax
    public interface IListPropertyVisitor

    Methods

    Visit<TContainer, TList, TElement>(Property<TContainer, TList>, ref TContainer, ref TList)

    Implement this method to accept visitation for a specialized list property.

    Declaration
    void Visit<TContainer, TList, TElement>(Property<TContainer, TList> property, ref TContainer container, ref TList list)
        where TList : IList<TElement>
    Parameters
    Type Name Description
    Property<TContainer, TList> property

    The property being visited.

    TContainer container

    The container being visited.

    TList list

    The list value.

    Type Parameters
    Name Description
    TContainer

    The container type.

    TList

    The list value type.

    TElement

    The collection element type.

    Remarks

    This method is invoked by IListPropertyAccept<TList>

    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