mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
7bd28e4357
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2304 21ef857c-d57f-4fe0-8362-d861dc6d29cd
20 lines
453 B
C#
20 lines
453 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace System.Linq
|
|
{
|
|
internal class Grouping<TKey, TElement> : ReadOnlyCollection<TElement>, IGrouping<TKey, TElement>
|
|
{
|
|
internal IList<TElement> InnerList { get { return this.Items; } }
|
|
|
|
public TKey Key { get; private set; }
|
|
|
|
public Grouping (TKey key) : base (new List<TElement>())
|
|
{
|
|
Key = key;
|
|
}
|
|
}
|
|
}
|