Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SynchronizedHashtable Members

SynchronizedHashtable overview

Public Static (Shared) Methods

Wrap Creates a SynchronizedHashtable wrapper that synchronizes access to the passed Hashtable.

Public Instance Constructors

SynchronizedHashtable Overloaded. Initializes a new instance of the SynchronizedHashtable class.

Public Instance Properties

Count Gets the number of elements contained in the ICollection.
IsFixedSize Gets a value indicating whether the IDictionary object has a fixed size.
IsReadOnly Gets a value indicating whether the IDictionary object is read-only.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Item Gets or sets the element with the specified key.
Keys Gets an ICollection object containing the keys of the IDictionary object.
SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Values Gets an ICollection object containing the values in the IDictionary object.

Public Instance Methods

Add Adds an element with the provided key and value to the IDictionary object.
Clear Removes all elements from the IDictionary object.
Clone Creates a new object that is a copy of the current instance.
Contains Determines whether the IDictionary object contains an element with the specified key.
ContainsKey Returns, whether this IDictionary contains an entry with the specified key.
ContainsValue Returns, whether this IDictionary contains an entry with the specified value.
CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an IDictionaryEnumerator object for the IDictionary object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Remove Removes the element with the specified key from the IDictionary object.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

SynchronizedHashtable Overloaded. Initializes a new instance of the SynchronizedHashtable class.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Explicit Interface Implementations

IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.

See Also

SynchronizedHashtable Class | Spring.Collections Namespace