docs.unity.cn
    Show / Hide Table of Contents

    Class AOT.DictionaryPropertyGenerator<TContainer, TDictionary, TKey, TValue>

    Helper class to preserve dictionary property code paths.

    Inheritance
    Object
    AOT.DictionaryPropertyGenerator<TContainer, TDictionary, TKey, TValue>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Properties
    Syntax
    [Preserve]
    public static class DictionaryPropertyGenerator<TContainer, TDictionary, TKey, TValue>
        where TDictionary : IDictionary<TKey, TValue>
    Type Parameters
    Name Description
    TContainer

    The container type.

    TDictionary

    The list type.

    TKey

    The key type.

    TValue

    The value type.

    Methods

    Preserve()

    Invoke this method to have all generic IDictionary<TKey,TValue> property code paths generated.

    Declaration
    public static void Preserve()
    Remarks

    This method is used to generate all generic combinations of , , and .

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