Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Set Members

Set overview

Public Static (Shared) Methods

ExclusiveOrOverloaded. Performs an "exclusive-or" of the two sets, keeping only those elements that are in one of the sets, but not in both.
IntersectOverloaded. Performs an "intersection" of the two sets, where only the elements that are present in both sets remain.
MinusOverloaded. Performs a "minus" of set anotherSet from set setOne.
UnionOverloaded. Performs a "union" of two sets, where all the elements in both are present.

Public Static (Shared) Operators

Bitwise And Operator Performs an "intersection" of the two sets, where only the elements that are present in both sets remain.
Bitwise Or Operator Performs a "union" of two sets, where all the elements in both are present.
Exclusive Or Operator Performs an "exclusive-or" of the two sets, keeping only those elements that are in one of the sets, but not in both.
Subtraction Operator Performs a "minus" of set anotherSet from set setOne.

Public Instance Properties

Count The number of elements currently contained in this collection.
IsEmpty Returns true if this set contains no elements.
IsSynchronized Returns true if the ISet is synchronized across threads.
SyncRoot An object that can be used to synchronize this collection to make it thread-safe.

Public Instance Methods

Add Adds the specified element to this set if it is not already present.
AddAll Adds all the elements in the specified collection to the set if they are not already present.
Clear Removes all objects from this set.
Clone Returns a clone of the ISet instance.
Contains Returns true if this set contains the specified element.
ContainsAll Returns true if the set contains all the elements in the specified collection.
CopyTo Copies the elements in the ISet to an array.
Equals This method will test the ISet against another ISet for "equality".
ExclusiveOrOverloaded. Performs an "exclusive-or" of the two sets, keeping only those elements that are in one of the sets, but not in both.
GetEnumerator Gets an enumerator for the elements in the ISet.
GetHashCode Gets the hashcode for the object.
GetType (inherited from Object)Gets the Type of the current instance.
IntersectOverloaded. Performs an "intersection" of the two sets, where only the elements that are present in both sets remain.
MinusOverloaded. Performs a "minus" of this set from the setOne set.
Remove Removes the specified element from the set.
RemoveAll Remove all the specified elements from this set, if they exist in this set.
RetainAll Retains only the elements in this set that are contained in the specified collection.
ToString (inherited from Object)Returns a String that represents the current Object.
UnionOverloaded. Performs a "union" of the two sets, where all the elements in both sets are present.

Protected Instance Constructors

Set Constructor Initializes a new instance of the Set 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.

See Also

Set Class | Spring.Collections Namespace | ISet