The SafeDictionary TKey, TValue  type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| SafeDictionary TKey, TValue | 
            SafeDictionary constructor.
              | |
| SafeDictionary TKey, TValue (IEqualityComparer) | 
            SafeDictionary constructor.
              | |
| SafeDictionary TKey, TValue (IDictionary, IEqualityComparer) | 
            Constructor.
              | |
| SafeDictionary TKey, TValue (SerializationInfo, StreamingContext) | 
            De-serialization constructor.
              | 
Methods
| Name | Description | |
|---|---|---|
| Add | 
            Adds the value to the dictionary
              (Overrides  | |
| AddMultiple | 
            Adds multiple items with same value to the dictionary
              | |
Removes all elements from the   (Inherited from  | ||
Creates a shallow copy of the   (Inherited from  | ||
| CloneForNewThread | 
            Clones the object for new thread
              | |
| Contains | 
            Returns true if the dictionary contains the given key
              (Overrides  | |
| ContainsKey | 
            Returns true if the dictionary contains the given key
              (Overrides  | |
| ContainsValue | 
            Returns true if the dictionary contains the given value
              (Overrides  | |
|  (Inherited from  | ||
|  (Inherited from  | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from  | ||
|  (Inherited from  | ||
Returns the hash code for the specified key.  (Inherited from  | ||
Serves as a hash function for a particular type.   (Inherited from  | ||
| GetInternalValue | 
            Gets the value from the internal dictionary
              | |
| GetObjectData | 
            Object serialization.
              (Overrides  | |
| GetRealCount | 
            Gets the real count of the objects in the dictionary
              | |
Gets the   (Inherited from  | ||
|  (Inherited from  | ||
Creates a shallow copy of the current   (Inherited from  | ||
Implements the   (Inherited from  | ||
Removes the element with the specified key from the   (Inherited from  | ||
| SetInternalValue | 
            Sets the value in the internal dictionary
              | |
Returns a string that represents the current object.  (Inherited from  | ||
| TryGetValue | 
            Tries to get the value, returns true if the retrieval was successful.
              | 
Extension Methods
| Name | Description | |
|---|---|---|
| AsIndexable TKey, TValue | 
            Implicit conversion to indexable type with a specific values
              (Defined by DataExtensions.) | |
| AsValue | 
            Converts object to a query value which can be used as a query parameter
              (Defined by QueryExtensions.) | |
| GetAPIString | 
            Gets the string by the specified resource key
              (Defined by CoreExtensions.) | |
| GetString | 
            Gets the string by the specified resource key
              (Defined by CoreExtensions.) | |
| ToBoolean | 
            Returns the boolean representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToDateTime | 
            Returns the DateTime representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToDouble | 
            Returns the double representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToGuid | 
            Returns the Guid representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToInteger | 
            Returns the integer representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToString | 
            Returns the string representation of an object or default value if not.
              (Defined by CoreExtensions.) | 
Fields
| Name | Description | |
|---|---|---|
| mDefaultValue | 
            Default value.
              | |
| mNullValue | 
            Null value.
              | |
| mUseWeakReferences | 
            If true, the weak references are used for the items so the memory can be cleared upon request
              | 
Properties
| Name | Description | |
|---|---|---|
| AllowNulls | 
            If true, the dictionary allows null values as valid.
              | |
| Obsolete.  (Inherited from  | ||
| CopyToNewThread | 
            If true, the dictionary is copied (not cloned) to a new thread
              | |
Gets the number of key/value pairs contained in the   (Inherited from  | ||
| DefaultValue | 
            Default value.
              | |
|  (Inherited from  | ||
| Obsolete.  Gets or sets the object that can dispense hash codes.  (Inherited from  | ||
| IsEmpty | 
            Returns true if the dictionary is empty
              | |
Gets a value indicating whether the   (Inherited from  | ||
Gets a value indicating whether the   (Inherited from  | ||
Gets a value indicating whether access to the   (Inherited from  | ||
Gets or sets the value associated with the specified key.  (Inherited from  | ||
| Item TKey | 
            Items indexer. Gets or sets the value in the dictionary.
              | |
|  (Inherited from  | ||
| NullValue | 
            Null value.
              | |
Gets an object that can be used to synchronize access to the   (Inherited from  | ||
| TypedKeys | 
            Gets a typed collection of keys in this dictionary
              | |
| TypedValues | 
            Gets a typed collection of values in this dictionary
              | |
| UseWeakReferences | 
            If true, the weak references are used for the items so the memory can be cleared upon request
              | |
|  (Inherited from  | 
See Also