StringSafeDictionaryTValue Class |
Namespace: CMS.Base
[SerializableAttribute] public class StringSafeDictionary<TValue> : SafeDictionary<string, TValue>
The StringSafeDictionaryTValue type exposes the following members.
Name | Description | |
---|---|---|
StringSafeDictionaryTValue |
Default constructor, creates case insensitive dictionary
| |
StringSafeDictionaryTValue(Boolean) |
Constructor
| |
StringSafeDictionaryTValue(IDictionary, Boolean) |
Constructor.
| |
StringSafeDictionaryTValue(SerializationInfo, StreamingContext) |
De-serialization constructor.
|
Name | Description | |
---|---|---|
Add |
Adds the value to the dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
AddMultiple |
Adds multiple items with same value to the dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
Clear |
Removes all elements from the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.) | |
CloneForNewThread |
Clones the object for new thread
(Inherited from SafeDictionaryTKey, TValue.) | |
Contains |
Returns true if the dictionary contains the given key
(Inherited from SafeDictionaryTKey, TValue.) | |
ContainsKey |
Returns true if the dictionary contains the given key
(Inherited from SafeDictionaryTKey, TValue.) | |
ContainsValue |
Returns true if the dictionary contains the given value
(Inherited from SafeDictionaryTKey, TValue.) | |
CopyTo |
Copies the System.Collections.Hashtable elements to a one-dimensional System.Array instance at the specified index.
(Inherited from SafeDictionaryTKey, TValue.) | |
GetInternalValue |
Gets the value from the internal dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
GetObjectData |
Object serialization.
(Inherited from SafeDictionaryTKey, TValue.) | |
GetRealCount |
Gets the real count of the objects in the dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
Remove |
Removes the element with the specified key from the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.) | |
SetInternalValue |
Sets the value in the internal dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
TryGetValue |
Tries to get the value, returns true if the retrieval was successful.
(Inherited from SafeDictionaryTKey, TValue.) |
Name | Description | |
---|---|---|
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.) |
Name | Description | |
---|---|---|
mDefaultValue |
Default value.
(Inherited from SafeDictionaryTKey, TValue.) | |
mNullValue |
Null value.
(Inherited from SafeDictionaryTKey, TValue.) | |
mUseWeakReferences |
If true, the weak references are used for the items so the memory can be cleared upon request
(Inherited from SafeDictionaryTKey, TValue.) |
Name | Description | |
---|---|---|
AllowNulls |
If true, the dictionary allows null values as valid.
(Inherited from SafeDictionaryTKey, TValue.) | |
CopyToNewThread |
If true, the dictionary is copied (not cloned) to a new thread
(Inherited from SafeDictionaryTKey, TValue.) | |
DefaultValue |
Default value.
(Inherited from SafeDictionaryTKey, TValue.) | |
IsEmpty |
Returns true if the dictionary is empty
(Inherited from SafeDictionaryTKey, TValue.) | |
IsSynchronized |
Returns true if dictionary is synchronized.
(Inherited from SafeDictionaryTKey, TValue.) | |
Item |
Items indexer. Gets or sets the value in the dictionary.
(Inherited from SafeDictionaryTKey, TValue.) | |
Keys |
Gets an Collection containing the keys in the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.) | |
NullValue |
Null value.
(Inherited from SafeDictionaryTKey, TValue.) | |
TypedKeys |
Gets a typed collection of keys in this dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
TypedValues |
Gets a typed collection of values in this dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
UseWeakReferences |
If true, the weak references are used for the items so the memory can be cleared upon request
(Inherited from SafeDictionaryTKey, TValue.) | |
Values |
Gets an Collection containing the values in the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.) |