Click or drag to resize

NiceDictionaryTKey, TValue Class

A dictionary of values where the indexer will return the default value for keys that don't map to an item.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryTKey, TValue
    Neon.CollectionsNiceDictionaryTKey, TValue

Namespace:  Neon.Collections
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public class NiceDictionary<TKey, TValue> : Dictionary<TKey, TValue>

Type Parameters

TKey
The key type.
TValue
The value type.

The NiceDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodNiceDictionaryTKey, TValue
Initializes a new instance of the NiceDictionaryTKey, TValue class
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryTKey, TValue.)
Public propertyCount (Inherited from DictionaryTKey, TValue.)
Public propertyItem
Accesses the value associated with a specified key.
Public propertyKeys (Inherited from DictionaryTKey, TValue.)
Public propertyValues (Inherited from DictionaryTKey, TValue.)
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryTKey, TValue.)
Public methodClear (Inherited from DictionaryTKey, TValue.)
Public methodContainsKey (Inherited from DictionaryTKey, TValue.)
Public methodContainsValue (Inherited from DictionaryTKey, TValue.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryTKey, TValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryTKey, TValue.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryTKey, TValue.)
Public methodRemove (Inherited from DictionaryTKey, TValue.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryTKey, TValue.)
Top
See Also