docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVisitContravariantPropertyAdapter<TContainer, TValue>

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

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

    The container type being visited.

    TValue

    The value type being visited.

    Remarks
    • IVisitContravariantPropertyAdapter<TValue>
    • IVisitPropertyAdapter

    Methods

    Visit(in VisitContext<TContainer>, ref TContainer, TValue)

    Invoked when the visitor encounters specific a and pair.

    Declaration
    void Visit(in VisitContext<TContainer> context, ref TContainer container, TValue value)
    Parameters
    Type Name Description
    VisitContext<TContainer> context

    The context being visited.

    TContainer container

    The container being visited.

    TValue value

    The value being visited.

    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