The StringSafeDictionary TValue type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StringSafeDictionary TValue |
Default constructor, creates case insensitive dictionary
| |
StringSafeDictionary TValue (Boolean) |
Constructor
| |
StringSafeDictionary TValue (IDictionary, Boolean) |
Constructor.
| |
StringSafeDictionary TValue (SerializationInfo, StreamingContext) |
De-serialization constructor.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds the value to the dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
AddMultiple |
Adds multiple items with same value to the dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
Clear | Removes all elements from the Hashtable. (Inherited from Hashtable.) | |
Clone | Creates a shallow copy of the Hashtable. (Inherited from Hashtable.) | |
CloneForNewThread |
Clones the object for new thread
(Inherited from SafeDictionary TKey, TValue .) | |
Contains |
Returns true if the dictionary contains the given key
(Inherited from SafeDictionary TKey, TValue .) | |
ContainsKey |
Returns true if the dictionary contains the given key
(Inherited from SafeDictionary TKey, TValue .) | |
ContainsValue |
Returns true if the dictionary contains the given value
(Inherited from SafeDictionary TKey, TValue .) | |
CopyTo | (Inherited from Hashtable.) | |
Equals | (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 IDictionaryEnumerator that iterates through the Hashtable. (Inherited from Hashtable.) | |
GetHash | Returns the hash code for the specified key. (Inherited from Hashtable.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInternalValue |
Gets the value from the internal dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
GetObjectData |
Object serialization.
(Inherited from SafeDictionary TKey, TValue .) | |
GetRealCount |
Gets the real count of the objects in the dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeyEquals | (Inherited from Hashtable.) | |
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 Hashtable.) | |
Remove | Removes the element with the specified key from the Hashtable. (Inherited from Hashtable.) | |
SetInternalValue |
Sets the value in the internal dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Tries to get the value, returns true if the retrieval was successful.
(Inherited from SafeDictionary TKey, TValue .) |
Extension Methods
Name | Description | |
---|---|---|
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.
(Inherited from SafeDictionary TKey, TValue .) | |
mNullValue |
Null value.
(Inherited from SafeDictionary TKey, TValue .) | |
mUseWeakReferences |
If true, the weak references are used for the items so the memory can be cleared upon request
(Inherited from SafeDictionary TKey, TValue .) |
Properties
Name | Description | |
---|---|---|
AllowNulls |
If true, the dictionary allows null values as valid.
(Inherited from SafeDictionary TKey, TValue .) | |
comparer | Obsolete. (Inherited from Hashtable.) | |
CopyToNewThread |
If true, the dictionary is copied (not cloned) to a new thread
(Inherited from SafeDictionary TKey, TValue .) | |
Count | Gets the number of key/value pairs contained in the Hashtable. (Inherited from Hashtable.) | |
EqualityComparer | Gets the IEqualityComparer to use for the Hashtable. (Inherited from Hashtable.) | |
hcp | Obsolete. Gets or sets the object that can dispense hash codes. (Inherited from Hashtable.) | |
IsEmpty |
Returns true if the dictionary is empty
(Inherited from SafeDictionary TKey, TValue .) | |
IsFixedSize | Gets a value indicating whether the Hashtable has a fixed size. (Inherited from Hashtable.) | |
IsReadOnly | Gets a value indicating whether the Hashtable is read-only. (Inherited from Hashtable.) | |
IsSynchronized | Gets a value indicating whether access to the Hashtable is synchronized (thread safe). (Inherited from Hashtable.) | |
Item TKey |
Items indexer. Gets or sets the value in the dictionary.
(Inherited from SafeDictionary TKey, TValue .) | |
Item Object | Gets or sets the value associated with the specified key. (Inherited from Hashtable.) | |
Keys | Gets an ICollection containing the keys in the Hashtable. (Inherited from Hashtable.) | |
NullValue |
Null value.
(Inherited from SafeDictionary TKey, TValue .) | |
SyncRoot | Gets an object that can be used to synchronize access to the Hashtable. (Inherited from Hashtable.) | |
TypedKeys |
Gets a typed collection of keys in this dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
TypedValues |
Gets a typed collection of values in this dictionary
(Inherited from SafeDictionary TKey, TValue .) | |
UseWeakReferences |
If true, the weak references are used for the items so the memory can be cleared upon request
(Inherited from SafeDictionary TKey, TValue .) | |
Values | Gets an ICollection containing the values in the Hashtable. (Inherited from Hashtable.) |
See Also