An implementation of IDictionary that wraps another IDictionary
and flags itself 'dirty' when it is modified.
Inheritance Hierarchy
Quartz.UtilDirtyFlagMapTKey, TValue
Quartz.UtilStringKeyDirtyFlagMap
Namespace: Quartz.Util
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
[SerializableAttribute] public class DirtyFlagMap<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IDictionary, ICollection, ISerializable
Type Parameters
- TKey
[Missing <typeparam name="TKey"/> documentation for "T:Quartz.Util.DirtyFlagMap`2"]
- TValue
[Missing <typeparam name="TValue"/> documentation for "T:Quartz.Util.DirtyFlagMap`2"]
The DirtyFlagMapTKey, TValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DirtyFlagMapTKey, TValue |
Create a DirtyFlagMap that 'wraps' a Hashtable.
| |
DirtyFlagMapTKey, TValue(Int32) |
Create a DirtyFlagMap that 'wraps' a Hashtable that has the
given initial capacity.
| |
DirtyFlagMapTKey, TValue(SerializationInfo, StreamingContext) |
Serialization constructor.
|
Properties
Name | Description | |
---|---|---|
Count |
When implemented by a class, gets the number of
elements contained in the ICollection.
| |
Dirty |
Determine whether the IDictionary is flagged dirty.
| |
IsEmpty |
Gets a value indicating whether this instance is empty.
| |
IsFixedSize |
When implemented by a class, gets a value indicating whether the IDictionary
has a fixed size.
| |
IsReadOnly |
When implemented by a class, gets a value indicating whether the IDictionary
is read-only.
| |
IsSynchronized |
When implemented by a class, gets a value
indicating whether access to the ICollection is synchronized
(thread-safe).
| |
Item |
Gets or sets the Object with the specified key.
| |
Keys |
When implemented by a class, gets an ICollection containing the keys of the IDictionary.
| |
SyncRoot |
When implemented by a class, gets an object that
can be used to synchronize access to the ICollection.
| |
Values |
When implemented by a class, gets an ICollection containing the values in the IDictionary.
| |
WrappedMap |
Get a direct handle to the underlying Map.
|
Methods
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) | ||
Add(Object, Object) | ||
Add(TKey, TValue) |
When implemented by a class, adds an element with the provided key and value to the IDictionary.
| |
Clear |
When implemented by a class, removes all elements from the IDictionary.
| |
ClearDirtyFlag |
Clear the 'dirty' flag (set dirty flag to ).
| |
Clone |
Creates a new object that is a copy of the current instance.
| |
Contains(KeyValuePairTKey, TValue) | ||
Contains(Object) | ||
ContainsKey |
When implemented by a class, determines whether the IDictionary contains an element with the specified key.
| |
ContainsValue |
Determines whether the specified obj contains value.
| |
CopyTo(Array, Int32) |
When implemented by a class, copies the elements of
the ICollection to an Array, starting at a particular Array index.
| |
CopyTo(KeyValuePairTKey, TValue, Int32) | ||
EntrySet |
Gets the entries as a set.
| |
Equals | (Overrides ObjectEquals(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.) | |
Get |
Gets the value behind the specified key.
| |
GetEnumerator |
When implemented by a class, returns an
IDictionaryEnumerator for the IDictionary.
| |
GetHashCode |
Serves as a hash function for a particular type, suitable
for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode.) | |
GetObjectData | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeySet |
Gets keyset for this map.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Put |
Puts the value behind a specified key.
| |
PutAll |
Puts all.
| |
Remove(KeyValuePairTKey, TValue) | ||
Remove(Object) | ||
Remove(TKey) |
When implemented by a class, removes the element with the
specified key from the IDictionary.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
See Also