File: Framework\System\Private\Windows\Ole\DataObjectFactory.cs
Web Access
Project: src\src\System.Private.Windows.Core\src\Microsoft.Private.Windows.Core.csproj (Microsoft.Private.Windows.Core)
// 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 static class DataObjectFactory<TDataObject, TIDataObject>
    where TDataObject : class, IDataObjectInternal<TDataObject, TIDataObject>, TIDataObject, new()
    where TIDataObject : class
{
    public static IDataObjectInternal<TDataObject, TIDataObject> Instance { get; } = new TDataObject();
}