File: TestDataSources.cs
Web Access
Project: src\src\test\integration\System.Windows.Forms.IntegrationTests.Common\System.Windows.Forms.IntegrationTests.Common.csproj (System.Windows.Forms.IntegrationTests.Common)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Windows.Forms.IntegrationTests.Common;
 
public static class TestDataSources
{
    public static List<Person> GetPersons() =>
    [
        new Person(1, "Name 1"),
        new Person(2, "Name 2"),
        new Person(3, "Name 3"),
        new Person(4, "Name 4"),
        new Person(5, "Name 5"),
    ];
 
    public const string PersonDisplayMember = "Name";
}