MultiKeyDictionaryValueType Class |
Namespace: CMS.Base
public class MultiKeyDictionary<ValueType> : StringSafeDictionary<ValueType>
The MultiKeyDictionaryValueType type exposes the following members.
Name | Description | |
---|---|---|
MultiKeyDictionaryValueType |
Default constructor.
| |
MultiKeyDictionaryValueType(IDictionary) |
Constructor.
|
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.) | |
ItemObject |
Gets or sets the value associated with key value
(Overrides SafeDictionaryTKey, TValueItemObject.) | |
ItemString |
Gets or sets the item.
(Overrides SafeDictionaryTKey, TValueItemTKey.) | |
Keys |
Gets an Collection containing the keys in the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.) | |
NullValue |
Null value.
(Inherited from SafeDictionaryTKey, TValue.) | |
SyncRoot |
Gets an object that can be used to synchronize access to the SafeDictionaryTKey, TValue.
(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.
The property can be set only when the dictionary is empty. To ensure thread-safety, you have
to perform the check for emptiness and property assignment in a critical section (use SyncRoot for that purpose).
(Inherited from SafeDictionaryTKey, TValue.) | |
Values |
Gets a Collection containing the values in the System.Collections.Hashtable.
(Inherited from SafeDictionaryTKey, TValue.) |
Name | Description | |
---|---|---|
Add |
Adds the value to the table.
(Overrides SafeDictionaryTKey, TValueAdd(Object, Object).) | |
AddMultiple |
Adds multiple items with same value to the dictionary
(Inherited from SafeDictionaryTKey, TValue.) | |
Clear |
Clears the table.
(Overrides SafeDictionaryTKey, TValueClear.) | |
Clone |
Gets the cloned Hashtable.
(Overrides StringSafeDictionaryTValueClone.) | |
CloneForNewThread |
Clones the object for new thread
(Inherited from SafeDictionaryTKey, TValue.) | |
Contains |
Returns true if the table contains specific key.
(Overrides SafeDictionaryTKey, TValueContains(Object).) | |
ContainsKey |
Returns true if the table contains specific key.
(Overrides SafeDictionaryTKey, TValueContainsKey(Object).) | |
ContainsValue |
Returns true if the dictionary contains the given value
(Inherited from SafeDictionaryTKey, TValue.) | |
CopyPropertiesTo |
Copies the dictionary properties to the target dictionary
(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.) | |
GetMainKey |
Gets the main object key for the given key.
| |
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 item from the table.
(Overrides SafeDictionaryTKey, TValueRemove(Object).) | |
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.) |