docs.unity.cn
    Show / Hide Table of Contents

    Interface IExcludePropertyAdapter<TValue>

    Implement this interface to filter visitation for a specific type.

    Namespace: Unity.Properties
    Syntax
    public interface IExcludePropertyAdapter<TValue> : IPropertyVisitorAdapter
    Type Parameters
    Name Description
    TValue

    The value type.

    Methods

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

    Invoked when the visitor encounters specific a .

    Declaration
    bool IsExcluded<TContainer>(in ExcludeContext<TContainer, TValue> context, ref TContainer container, ref TValue value)
    Parameters
    Type Name Description
    ExcludeContext<TContainer, TValue> 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.

    Type Parameters
    Name Description
    TContainer

    The container type being visited.

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