docs.unity.cn
    Show / Hide Table of Contents

    Interface IDictionaryPropertyAccept<TDictionary>

    Interface for accepting dictionary property visitation.

    Namespace: Unity.Properties
    Syntax
    public interface IDictionaryPropertyAccept<TDictionary>
    Type Parameters
    Name Description
    TDictionary

    The dictionary type.

    Methods

    Accept<TContainer>(IDictionaryPropertyVisitor, Property<TContainer, TDictionary>, ref TContainer, ref TDictionary)

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

    Declaration
    void Accept<TContainer>(IDictionaryPropertyVisitor visitor, Property<TContainer, TDictionary> property, ref TContainer container, ref TDictionary dictionary)
    Parameters
    Type Name Description
    IDictionaryPropertyVisitor visitor

    The visitor being run.

    Property<TContainer, TDictionary> property

    The property being visited.

    TContainer container

    The container being visited.

    TDictionary dictionary

    The dictionary 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