Class SerializedDictionary<K, V, SK, SV>
Dictionary that can serialize keys and values as other types
Implements
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public abstract class SerializedDictionary<K, V, SK, SV> : Dictionary<K, V>, IDictionary<K, V>, ICollection<KeyValuePair<K, V>>, IReadOnlyDictionary<K, V>, IReadOnlyCollection<KeyValuePair<K, V>>, IEnumerable<KeyValuePair<K, V>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, ISerializationCallbackReceiver
Type Parameters
Name | Description |
---|---|
K | The key type |
V | The value type |
SK | The type which the key will be serialized for |
SV | The type which the value will be serialized for |
Methods
Name | Description |
---|---|
Deserialize |
From SK to K |
Deserialize |
From SV to V |
On |
OnAfterDeserialize implementation. |
On |
OnBeforeSerialize implementation. |
Serialize |
From K to SK |
Serialize |
From V to SV |