Aracılığıyla paylaş


Grouping<TKey,TElement> Sınıf

Tanım

Basit bir uygulaması.IGrouping<TKey,TElement>

generic <typename TKey, typename TElement>
public ref class Grouping : System::Collections::Generic::IEnumerable<TElement>, System::Linq::IGrouping<TKey, TElement>
public class Grouping<TKey,TElement> : System.Collections.Generic.IEnumerable<TElement>, System.Linq.IGrouping<TKey,TElement>
type Grouping<'Key, 'Element> = class
    interface IGrouping<'Key, 'Element>
    interface seq<'Element>
    interface IEnumerable
Public Class Grouping(Of TKey, TElement)
Implements IEnumerable(Of TElement), IGrouping(Of TKey, TElement)

Tür Parametreleri

TKey

Grubun anahtarı.

TElement

Grubun öğe türü.

Devralma
Grouping<TKey,TElement>
Uygulamalar
IEnumerable<TElement> IEnumerable IGrouping<TKey,TElement>

Oluşturucular

Grouping<TKey,TElement>(TKey, IEnumerable<TElement>)

Grouping<TKey,TElement> sınıfının yeni bir örneğini başlatır.

Özellikler

Key

Basit bir uygulaması.IGrouping<TKey,TElement>

Yöntemler

GetEnumerator()

Basit bir uygulaması.IGrouping<TKey,TElement>

Belirtik Arabirim Kullanımları

IEnumerable.GetEnumerator()

Basit bir uygulaması.IGrouping<TKey,TElement>

Uzantı Metotları

EmptyIfNull<T>(IEnumerable<T>)

Null olmaması durumunda bu numaralandırmayı döndür. Null olması durumunda boş dönüş sabit listesi.

Şunlara uygulanır