docs.unity.cn
    Show / Hide Table of Contents

    Struct VisitContext<TContainer, TValue>

    Context object used during visitation when a IProperty<TContainer> is visited.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Properties
    Syntax
    public readonly struct VisitContext<TContainer, TValue>
    Type Parameters
    Name Description
    TContainer

    The container type of the IProperty.

    TValue

    The value type of the IProperty.

    Properties

    Property

    The property being visited.

    Declaration
    public readonly Property<TContainer, TValue> Property { get; }
    Property Value
    Type Description
    Property<TContainer, TValue>

    Methods

    ContinueVisitation(ref TContainer, ref TValue)

    Continues visitation through the next visitation adapter.

    Declaration
    public readonly void ContinueVisitation(ref TContainer container, ref TValue value)
    Parameters
    Type Name Description
    TContainer container

    The container being visited.

    TValue value

    The value being visited.

    ContinueVisitationWithoutAdapters(ref TContainer, ref TValue)

    Continues visitation while skipping the next visitation adapters.

    Declaration
    public readonly void ContinueVisitationWithoutAdapters(ref TContainer container, ref TValue value)
    Parameters
    Type Name Description
    TContainer container

    The container being visited.

    TValue value

    The value being visited.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 26, 2023