// 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.Mvvm.UnitTests;
///
/// A simple implementation for and values.
///
internal sealed class IntGroup : List, IGrouping
{
///
/// Creates a new instance with the specified parameters.
///
/// The group key.
/// The group values.
public IntGroup(string key, IEnumerable collection)
: base(collection)
{
Key = key;
}
///
public string Key { get; }
}