docs.unity.cn
    Show / Hide Table of Contents

    Interface ISetPropertyVisitor

    Interface for receiving strongly typed property callbacks for sets.

    Namespace: Unity.Properties
    Syntax
    public interface ISetPropertyVisitor

    Methods

    Visit<TContainer, TSet, TValue>(Property<TContainer, TSet>, ref TContainer, ref TSet)

    Implement this method to accept visitation for a specialized set property.

    Declaration
    void Visit<TContainer, TSet, TValue>(Property<TContainer, TSet> property, ref TContainer container, ref TSet set)
        where TSet : ISet<TValue>
    Parameters
    Type Name Description
    Property<TContainer, TSet> property

    The property being visited.

    TContainer container

    The container being visited.

    TSet set

    The hash set value.

    Type Parameters
    Name Description
    TContainer

    The container type.

    TSet

    The set value type.

    TValue

    The value type.

    Remarks

    This method is invoked by ISetPropertyAccept<TSet>

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, November 9, 2022
    Terms of use