SafeHashSetT Class |
Namespace: CMS.Base
public class SafeHashSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable
The SafeHashSetT type exposes the following members.
Name | Description | |
---|---|---|
![]() | SafeHashSetT(IEqualityComparerT) |
Constructor
|
![]() | SafeHashSetT(IEnumerableT, IEqualityComparerT) |
Constructor
|
Name | Description | |
---|---|---|
![]() | Count |
Returns the number of elements in a sequence.
|
![]() | IsReadOnly |
Gets a value indicating whether a collection is read-only.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds the item to the hash set
|
![]() | Clear |
Removes all elements from a SafeHashSetT object.
|
![]() | Contains |
Returns true if the hash set contains the given value
|
![]() | CopyTo |
Copies the elements of a SafeHashSetT object to an array, starting at the specified array index.
|
![]() | ExceptWith |
Removes all elements in the specified collection from the current SafeHashSetT object.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() | IntersectWith |
Modifies the current SafeHashSetT object to contain only elements that are present in that object and in the specified collection.
|
![]() | IsProperSubsetOf |
Determines whether a SafeHashSetT object is a proper subset of the specified collection.
|
![]() | IsProperSupersetOf |
Determines whether a SafeHashSetT object is a proper superset of the specified collection.
|
![]() | IsSubsetOf |
Determines whether a SafeHashSetT object is a subset of the specified collection.
|
![]() | IsSupersetOf |
Determines whether a SafeHashSetT object is a superset of the specified collection.
|
![]() | Overlaps |
Determines whether the current SafeHashSetT object and a specified collection share common elements.
|
![]() | Remove |
Removes the value from the hash set
|
![]() | SetEquals |
Determines whether a SafeHashSetT object and the specified collection contain the same elements.
|
![]() | SymmetricExceptWith |
Modifies the current SafeHashSetT object to contain only elements that are present either in that object or in the specified collection, but not both.
|
![]() | UnionWith |
Modifies the current SafeHashSetT object to contain all elements that are present in itself, the specified collection, or both.
|
Name | Description | |
---|---|---|
![]() | AddRangeT |
Adds range of items to hashset.
(Defined by DataExtensions.) |
![]() | BatchT |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) |
![]() | ToHashSetT |
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.) |
![]() | ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) |
![]() | ToListT, TTo |
Converts the given collection to a list of values
(Defined by BaseExtensions.) |
![]() | ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |