The IdentitySet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
IdentitySet | Initializes a new instance of the IdentitySet class |
Methods
Name | Description | |
---|---|---|
Add | (Overrides Set..::..Add(Object).) | |
AddAll | (Overrides Set..::..AddAll(ICollection).) | |
Clear | (Overrides Set..::..Clear()()()().) | |
Clone |
Returns a clone of the set instance. This will work for derived set
classes if the derived class implements a constructor that takes no arguments.
(Inherited from Set.) | |
Contains | (Overrides Set..::..Contains(Object).) | |
ContainsAll | (Overrides Set..::..ContainsAll(ICollection).) | |
CopyTo | (Overrides Set..::..CopyTo(Array, Int32).) | |
Equals | (Inherited from Object.) | |
ExclusiveOr(ISet) |
Performs an "exclusive-or" of the two sets, keeping only the elements that
are in one of the sets, but not in both. The original sets are not modified
during this operation. The result set is a clone of this set containing
the elements from the exclusive-or operation.
(Inherited from Set.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | (Overrides Set..::..GetEnumerator()()()().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Intersect(ISet) |
Performs an "intersection" of the two sets, where only the elements
that are present in both sets remain. That is, the element is included if it exists in
both sets. The Intersect() operation does not modify the input sets. It returns
a Clone() of this set with the appropriate elements removed.
(Inherited from Set.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Minus(ISet) |
Performs a "minus" of set b from set a. This returns a set of all
the elements in set a, removing the elements that are also in set b.
The original sets are not modified during this operation. The result set is a Clone()
of this Set containing the elements from the operation.
(Inherited from Set.) | |
Remove | (Overrides Set..::..Remove(Object).) | |
RemoveAll | (Overrides Set..::..RemoveAll(ICollection).) | |
RetainAll | (Overrides Set..::..RetainAll(ICollection).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Union(ISet) |
Performs a "union" of the two sets, where all the elements
in both sets are present. That is, the element is included if it is in either a or b.
Neither this set nor the input set are modified during the operation. The return value
is a clone of this set with the extra elements added in.
(Inherited from Set.) |
Extension Methods
Name | Description | |
---|---|---|
As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsProxy | (Defined by NHibernateProxyHelper.) | |
ToTypeParameters | (Defined by ReflectHelper.) |
Properties
Name | Description | |
---|---|---|
Count | (Overrides Set..::..Count.) | |
IsEmpty | (Overrides Set..::..IsEmpty.) | |
IsSynchronized | (Overrides Set..::..IsSynchronized.) | |
SyncRoot | (Overrides Set..::..SyncRoot.) |