Click or drag to resize
SafeDictionaryTKey, TValue Methods

The SafeDictionaryTKey, TValue generic type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds the value to the dictionary
(Overrides HashtableAdd(Object, Object).)
Public methodAddMultiple
Adds multiple items with same value to the dictionary
Public methodClear
Removes all elements from the System.Collections.Hashtable.
(Overrides HashtableClear.)
Public methodCloneForNewThread
Clones the object for new thread
Public methodContains
Returns true if the dictionary contains the given key
(Overrides HashtableContains(Object).)
Public methodContainsKey
Returns true if the dictionary contains the given key
(Overrides HashtableContainsKey(Object).)
Public methodContainsValue
Returns true if the dictionary contains the given value
(Overrides HashtableContainsValue(Object).)
Public methodCopyTo
Copies the System.Collections.Hashtable elements to a one-dimensional System.Array instance at the specified index.
(Overrides HashtableCopyTo(Array, Int32).)
Protected methodGetInternalValue
Gets the value from the internal dictionary
Public methodGetObjectData
Object serialization.
(Overrides HashtableGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetRealCount
Gets the real count of the objects in the dictionary
Public methodRemove
Removes the element with the specified key from the System.Collections.Hashtable.
(Overrides HashtableRemove(Object).)
Protected methodSetInternalValue
Sets the value in the internal dictionary
Public methodTryGetValue
Tries to get the value, returns true if the retrieval was successful.
Top
Extension Methods
  NameDescription
Public Extension MethodAsIndexableTKey, TValue
Implicit conversion to indexable type with a specific values
(Defined by DataExtensions.)
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also