GroupingTKey, TElement Class |
Namespace: SD.Tools.Algorithmia.GeneralDataStructures
public class Grouping<TKey, TElement> : IGrouping<TKey, TElement>, IEnumerable<TElement>, IEnumerable
The GroupingTKey, TElement type exposes the following members.
Name | Description | |
---|---|---|
GroupingTKey, TElement |
Initializes a new instance of the GroupingTKey, TElement class.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from 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.) | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
SetEqualTElement(IEnumerableTElement) | Overloaded.
Checks whether the enumerable to compare with is equal to the source enumerable, element wise. If elements are in a different order, the
method will still return true. This is different from SequenceEqual which does take order into account
(Defined by IEnumerableExtensionMethods.) | |
SetEqualTElement(IEnumerableTElement, IEqualityComparerTElement) | Overloaded.
Checks whether the enumerable to compare with is equal to the source enumerable, element wise. If elements are in a different order, the
method will still return true. This is different from SequenceEqual which does take order into account
(Defined by IEnumerableExtensionMethods.) | |
ToFilteringBindingListTElement |
Converts the passed in enumerable to a FilteringBindingList
(Defined by ExtensionMethods.) | |
ToHashSetTElement |
Creates a new hashset and adds the source to it.
(Defined by IEnumerableExtensionMethods.) | |
ToListSafeTElement |
Converts the passed in enumerable to a List(Of T). If toEnumerate is a CommandifiedList(Of T) it will lock on its SyncRoot if it's a synchronized CommandifiedList.
if it's not a commandified list, it will simply call ToList() on the enumerable. If toEnumerate is null, null is returned.
(Defined by ExtensionMethods.) | |
ToReadOnlyCollectionTDestination |
Converts the enumerable to a ReadOnlyCollection.
(Defined by IEnumerableExtensionMethods.) |
Name | Description | |
---|---|---|
IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
| |
IGroupingTKey, TElementKey |