Interface IExclude | Properties | 1.3.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Interface IExclude

    Implement this interface to filter visitation.

    Namespace: Unity.Properties.Adapters
    Syntax
    public interface IExclude : IPropertyVisitorAdapter

    Methods

    IsExcluded<TContainer, TValue>(Property<TContainer, TValue>, ref TContainer, ref TValue)

    Invoked when the visitor encounters any property.

    Declaration
    bool IsExcluded<TContainer, TValue>(Property<TContainer, TValue> property, ref TContainer container, ref TValue value)
    Parameters
    Type Name Description
    Property<TContainer, TValue> property

    The property 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.

    TValue

    The value type being visited.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX