Show / Hide Table of Contents

    Class SerializableDictionary<TKey, TVal>

    Inheritance
    System.Object
    System.Collections.Generic.Dictionary<TKey, TVal>
    SerializableDictionary<TKey, TVal>
    GuidToReferenceDictionary
    Implements
    System.Collections.Generic.IDictionary<TKey, TVal>
    System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>
    System.Collections.Generic.IReadOnlyDictionary<TKey, TVal>
    System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TVal>>
    System.Collections.IDictionary
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.Runtime.Serialization.IDeserializationCallback
    System.Runtime.Serialization.ISerializable
    UnityEngine.ISerializationCallbackReceiver
    Inherited Members
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.get_Item(System.Object)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
    System.Collections.Generic.Dictionary<TKey, TVal>.Add(TKey, TVal)
    System.Collections.Generic.Dictionary<TKey, TVal>.Clear()
    System.Collections.Generic.Dictionary<TKey, TVal>.ContainsKey(TKey)
    System.Collections.Generic.Dictionary<TKey, TVal>.ContainsValue(TVal)
    System.Collections.Generic.Dictionary<TKey, TVal>.GetEnumerator()
    System.Collections.Generic.Dictionary<TKey, TVal>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Collections.Generic.Dictionary<TKey, TVal>.OnDeserialization(System.Object)
    System.Collections.Generic.Dictionary<TKey, TVal>.Remove(TKey)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>.Add(System.Collections.Generic.KeyValuePair<TKey, TVal>)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>.Contains(System.Collections.Generic.KeyValuePair<TKey, TVal>)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>.CopyTo(System.Collections.Generic.KeyValuePair<TKey, TVal>[], System.Int32)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>.Remove(System.Collections.Generic.KeyValuePair<TKey, TVal>)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TVal>>.GetEnumerator()
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.Add(System.Object, System.Object)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.Contains(System.Object)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.GetEnumerator()
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.Remove(System.Object)
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Generic.Dictionary<TKey, TVal>.TryGetValue(TKey, TVal)
    System.Collections.Generic.Dictionary<TKey, TVal>.Comparer
    System.Collections.Generic.Dictionary<TKey, TVal>.Count
    System.Collections.Generic.Dictionary<TKey, TVal>.Item[TKey]
    System.Collections.Generic.Dictionary<TKey, TVal>.Keys
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TVal>>.IsReadOnly
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.IDictionary<TKey, TVal>.Keys
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.IDictionary<TKey, TVal>.Values
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.IReadOnlyDictionary<TKey, TVal>.Keys
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.Generic.IReadOnlyDictionary<TKey, TVal>.Values
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.ICollection.IsSynchronized
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.ICollection.SyncRoot
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.IsFixedSize
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.IsReadOnly
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.Item[System.Object]
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.Keys
    System.Collections.Generic.Dictionary<TKey, TVal>.System.Collections.IDictionary.Values
    System.Collections.Generic.Dictionary<TKey, TVal>.Values
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Bayat.Core.Utilities
    Assembly: Bayat.Core.Runtime.dll
    Syntax
    [Serializable]
    public abstract class SerializableDictionary<TKey, TVal> : Dictionary<TKey, TVal>, IDictionary<TKey, TVal>, ICollection<KeyValuePair<TKey, TVal>>, IReadOnlyDictionary<TKey, TVal>, IReadOnlyCollection<KeyValuePair<TKey, TVal>>, IEnumerable<KeyValuePair<TKey, TVal>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, ISerializationCallbackReceiver
    Type Parameters
    Name Description
    TKey
    TVal

    Methods

    | Improve this Doc View Source

    ChangeKey(TKey, TKey)

    Declaration
    public bool ChangeKey(TKey oldKey, TKey newKey)
    Parameters
    Type Name Description
    TKey oldKey
    TKey newKey
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    KeysAreEqual(TKey, TKey)

    Declaration
    protected abstract bool KeysAreEqual(TKey a, TKey b)
    Parameters
    Type Name Description
    TKey a
    TKey b
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()
    | Improve this Doc View Source

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()
    | Improve this Doc View Source

    ValuesAreEqual(TVal, TVal)

    Declaration
    protected abstract bool ValuesAreEqual(TVal a, TVal b)
    Parameters
    Type Name Description
    TVal a
    TVal b
    Returns
    Type Description
    System.Boolean

    Implements

    System.Collections.Generic.IDictionary<TKey, TValue>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IDictionary
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.Runtime.Serialization.IDeserializationCallback
    System.Runtime.Serialization.ISerializable
    UnityEngine.ISerializationCallbackReceiver

    Extension Methods

    CollectionUtils.ContainsValue<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>)
    CollectionUtils.IndexOf<T>(IEnumerable<T>, Func<T, Boolean>)
    StringUtils.ForgivingCaseSensitiveFind<TSource>(IEnumerable<TSource>, Func<TSource, String>, String)
    StringExtensions.ToSeparatedString(IEnumerable, String)
    StringExtensions.ToCommaSeparatedString(IEnumerable)
    StringExtensions.ToLineSeparatedString(IEnumerable)
    • Improve this Doc
    • View Source
    • 0 Comments