mirror of
https://github.com/CommunityToolkit/dotnet.git
synced 2026-10-20 14:16:34 +08:00
20 lines
529 B
C#
20 lines
529 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace CommunityToolkit.Common.UnitTests.Collections;
|
|
|
|
public class IntGroup : List<int>, IGrouping<string, int>
|
|
{
|
|
public IntGroup(string key, IEnumerable<int> collection)
|
|
: base(collection)
|
|
{
|
|
Key = key;
|
|
}
|
|
|
|
public string Key { get; }
|
|
}
|