docs.unity.cn
    Show / Hide Table of Contents

    Interface ISetPropertyAccept<TSet>

    Interface for accepting hash set property visitation.

    Namespace: Unity.Properties
    Syntax
    public interface ISetPropertyAccept<TSet>
    Type Parameters
    Name Description
    TSet

    The set type.

    Methods

    Accept<TContainer>(ISetPropertyVisitor, Property<TContainer, TSet>, ref TContainer, ref TSet)

    Call this method to invoke Visit<TContainer, TSet, TValue>(Property<TContainer, TSet>, ref TContainer, ref TSet).

    Declaration
    void Accept<TContainer>(ISetPropertyVisitor visitor, Property<TContainer, TSet> property, ref TContainer container, ref TSet set)
    Parameters
    Type Name Description
    ISetPropertyVisitor visitor

    The visitor being run.

    Property<TContainer, TSet> property

    The property being visited.

    TContainer container

    The container being visited.

    TSet set

    The set value.

    Type Parameters
    Name Description
    TContainer

    The container type.

    Remarks

    This method is used to join the container, the key and the value type.

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