YDefaultable
|
public class YDefaultableDictionary<TKey, TValue> : Dictionary<TKey, TValue>
The YDefaultableDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
![]() | YDefaultableDictionaryTKey, TValue | Creates a new instance of a YDefaultableDictionary. |
Name | Description | |
---|---|---|
![]() | Comparer | Gets the IEqualityComparerT that is used to determine equality of keys for the dictionary. (Inherited from DictionaryTKey, TValue) |
![]() | Count | Gets the number of key/value pairs contained in the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue) |
![]() | Item | Get or Set the value of a given key in the dictionary. |
![]() | Keys | Gets a collection containing the keys in the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue) |
![]() | Values | Gets a collection containing the values in the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue) |
Name | Description | |
---|---|---|
![]() | Add | Adds the specified key and value to the dictionary. (Inherited from DictionaryTKey, TValue) |
![]() | Clear | Removes all keys and values from the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue) |
![]() | ContainsKey | Determines whether the DictionaryTKey, TValue contains the specified key. (Inherited from DictionaryTKey, TValue) |
![]() | ContainsValue | Determines whether the DictionaryTKey, TValue contains a specific value. (Inherited from DictionaryTKey, TValue) |
![]() | EnsureCapacity | Ensures that the dictionary can hold up to a specified number of entries without any further expansion of its backing storage. (Inherited from DictionaryTKey, TValue) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GetEnumerator | Returns an enumerator that iterates through the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from DictionaryTKey, TValue) |
![]() | Remove(TKey) | Removes the value with the specified key from the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue) |
![]() | Remove(TKey, TValue) | Removes the value with the specified key from the DictionaryTKey, TValue, and copies the element to the value parameter. (Inherited from DictionaryTKey, TValue) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
![]() | TrimExcess | Sets the capacity of this dictionary to what it would be if it had been originally initialized with all its entries. (Inherited from DictionaryTKey, TValue) |
![]() | TrimExcess(Int32) | Sets the capacity of this dictionary to hold up a specified number of entries without any further expansion of its backing storage. (Inherited from DictionaryTKey, TValue) |
![]() | TryAdd | Attempts to add the specified key and value to the dictionary. (Inherited from DictionaryTKey, TValue) |
![]() | TryGetValue | Gets the value associated with the specified key. (Inherited from DictionaryTKey, TValue) |
Name | Description | |
---|---|---|
![]() | GetMD5HashCode |
Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods) |
![]() | SerializeObject |
Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter) |