Interface IVisitContainerAdapter<TContainer, TValue> | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface IVisitContainerAdapter<TContainer, TValue>

    Implement this interface to intercept container visitation for a specific and pair.

    Namespace: Unity.Properties
    Syntax
    public interface IVisitContainerAdapter<TContainer, TValue>
    Type Parameters
    Name Description
    TContainer
    TValue

    Methods

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

    Declaration
    VisitStatus BeginContainer<TProperty>(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

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

    Declaration
    void EndContainer<TProperty>(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
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX