docs.unity.cn
    Show / Hide Table of Contents

    Interface IExcludeContravariantPropertyAdapter<TContainer, TValue>

    Implement this interface to filter visitation for a specific and pair.

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

    The container type being visited.

    TValue

    The value type being visited.

    Methods

    IsExcluded(in ExcludeContext<TContainer>, ref TContainer, TValue)

    Invoked when the visitor encounters specific a and pair.

    Declaration
    bool IsExcluded(in ExcludeContext<TContainer> context, ref TContainer container, TValue value)
    Parameters
    Type Name Description
    ExcludeContext<TContainer> context

    The context being visited.

    TContainer container

    The container being visited.

    TValue value

    The value being visited.

    Returns
    Type Description
    Boolean

    true if visitation should be skipped, false otherwise.

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