Interface IVisitContainerAdapter | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface IVisitContainerAdapter

    Implement this interface to intercept the visitation for all unhandled container nodes.

    Namespace: Unity.Properties
    Syntax
    public interface IVisitContainerAdapter

    Methods

    BeginContainer<TProperty, TValue, TContainer>(IPropertyVisitor, TProperty, ref TContainer, ref TValue, ref ChangeTracker)

    Invoked when the visitor encounters any container node.

    Declaration
    VisitStatus BeginContainer<TProperty, TValue, TContainer>(IPropertyVisitor visitor, TProperty property, ref TContainer container, ref TValue value, ref ChangeTracker changeTracker)
        where TProperty : IProperty<TContainer, TValue>
    Parameters
    Type Name Description
    IPropertyVisitor visitor
    TProperty property
    TContainer container
    TValue value
    ChangeTracker changeTracker
    Returns
    Type Description
    VisitStatus
    Type Parameters
    Name Description
    TProperty
    TValue
    TContainer

    EndContainer<TProperty, TValue, TContainer>(IPropertyVisitor, TProperty, ref TContainer, ref TValue, ref ChangeTracker)

    Declaration
    void EndContainer<TProperty, TValue, TContainer>(IPropertyVisitor visitor, TProperty property, ref TContainer container, ref TValue value, ref ChangeTracker changeTracker)
        where TProperty : IProperty<TContainer, TValue>
    Parameters
    Type Name Description
    IPropertyVisitor visitor
    TProperty property
    TContainer container
    TValue value
    ChangeTracker changeTracker
    Type Parameters
    Name Description
    TProperty
    TValue
    TContainer
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX