Class DisplayInfoMap<T, S>
Base class of all display information data contains which contain the data for the UI.
Inherited Members
Namespace: Unity.Industrial.Forma.Core.Info
Syntax
[Serializable]
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Providers", "Unity.Industrial.Configurator", null)]
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
OnBeforeSerialize()
Called when [before serialize].
Declaration
public void OnBeforeSerialize()
Implements
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. |