docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDictionaryPropertyVisitor

    Interface for receiving strongly typed property callbacks for dictionaries.

    Namespace: Unity.Properties
    Syntax
    public interface IDictionaryPropertyVisitor
    Remarks
    IDictionaryPropertyAccept<TDictionary>

    Methods

    Visit<TContainer, TDictionary, TKey, TValue>(Property<TContainer, TDictionary>, ref TContainer, ref TDictionary)

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

    Declaration
    void Visit<TContainer, TDictionary, TKey, TValue>(Property<TContainer, TDictionary> property, ref TContainer container, ref TDictionary dictionary)
        where TDictionary : IDictionary<TKey, TValue>
    Parameters
    Type Name Description
    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.

    TDictionary

    The dictionary value type.

    TKey

    The key type.

    TValue

    The value type.

    Remarks

    This method is invoked by IDictionaryPropertyAccept<TDictionary>

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023