docs.unity3d.com
    Show / Hide Table of Contents

    Class DisplayInfoMap<T, S>

    Base class of all display information data contains which contain the data for the UI.

    Inheritance
    Object
    DisplayInfo<T>
    DisplayInfoMap<T, S>
    Inherited Members
    DisplayInfo<T>.target
    Namespace: UnityEngine.Industrial.Configuring.Providers
    Syntax
    [Serializable]
    public class DisplayInfoMap<T, S> : DisplayInfo<T>, ISerializationCallbackReceiver
    Type Parameters
    Name Description
    T
    S

    Properties

    contents

    Gets the contents.

    Declaration
    public IReadOnlyDictionary<S, DisplayInfoContent> contents { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<S, DisplayInfoContent>

    The contents.

    Methods

    AddEntry(S, DisplayInfoContent)

    Adds a new entry to the maps.

    Declaration
    public void AddEntry(S key, DisplayInfoContent content)
    Parameters
    Type Name Description
    S key

    The key.

    DisplayInfoContent content

    The content.

    OnAfterDeserialize()

    Called when [after deserialize].

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Called when [before serialize].

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    RemoveEntry(S)

    Removes an entry from the map (must be present in the map).

    Declaration
    public void RemoveEntry(S key)
    Parameters
    Type Name Description
    S key

    The key.

    Back to top
    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