Click or drag to resize

NullSafeDictionaryTKey, TValue Class

An extension to Dictionary(Of TKey, TValue) that returns a default item for non-existing keys
Inheritance Hierarchy
SystemObject
  Arsenal.ImageMounter.IONullSafeDictionaryTKey, TValue
    Arsenal.ImageMounter.IOCachedIniFile
    Arsenal.ImageMounter.IONullSafeStringDictionary

Namespace:  Arsenal.ImageMounter.IO
Assembly:  Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax
[ComVisibleAttribute(false)]
public abstract class NullSafeDictionary<TKey, TValue> : IDictionary<TKey, TValue>

Type Parameters

TKey
TValue

The NullSafeDictionaryTKey, TValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Public propertyIsReadOnly
Public propertyItem
Gets or sets the item for a key in dictionary. If no item exists for key, the default value for this SafeDictionary is returned
Public propertyKeys
Public propertySyncRoot
Public propertyValues
Top
Methods
  NameDescription
Public methodAdd
Public methodClear
Public methodContainsKey
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.)
Protected methodGetDefaultValue
Gets a value that is returned as item for non-existing keys in dictionary
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodRemove
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueAdd
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueContains
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueCopyTo
Explicit interface implementationPrivate methodIEnumerableKeyValuePairTKey, TValueGetEnumerator
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueRemove
Top
See Also