docs.unity.cn
    Show / Hide Table of Contents

    Interface IPropertyVisitor

    Interface for receiving strongly typed property callbacks.

    Namespace: Unity.Properties
    Syntax
    public interface IPropertyVisitor

    Methods

    Visit<TContainer, TValue>(Property<TContainer, TValue>, ref TContainer)

    Implement this method to accept visitation for a specific property.

    Declaration
    void Visit<TContainer, TValue>(Property<TContainer, TValue> property, ref TContainer container)
    Parameters
    Type Name Description
    Property<TContainer, TValue> property

    The property being visited.

    TContainer container

    The container being visited.

    Type Parameters
    Name Description
    TContainer

    The container type.

    TValue

    The value type.

    Remarks

    This method is invoked by IPropertyAccept<TContainer>

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, November 9, 2022
    Terms of use