File: System\Private\Windows\Ole\TestFormat.cs
Web Access
Project: src\src\System.Private.Windows.Core\tests\System.Private.Windows.Core.Tests\System.Private.Windows.Core.Tests.csproj (System.Private.Windows.Core.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Private.Windows.Ole;
 
internal class TestFormat : IDataFormat<TestFormat>
{
    public TestFormat(string name, int id)
    {
        Name = name;
        Id = id;
    }
 
    public string Name { get; }
    public int Id { get; }
    static TestFormat IDataFormat<TestFormat>.Create(string name, int id) => new(name, id);
}