File: System\Windows\Forms\Design\DataSourceProviderService.cs
Web Access
Project: src\src\System.Windows.Forms.Design\src\System.Windows.Forms.Design.csproj (System.Windows.Forms.Design)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.ComponentModel.Design;
 
namespace System.Windows.Forms.Design;
 
internal abstract class DataSourceProviderService
{
    public abstract bool SupportsAddNewDataSource { get; }
 
    public abstract bool SupportsConfigureDataSource { get; }
 
    public abstract DataSourceGroupCollection GetDataSources();
 
    public abstract DataSourceGroup InvokeAddNewDataSource(IWin32Window parentWindow, FormStartPosition startPosition);
 
    public abstract bool InvokeConfigureDataSource(IWin32Window parentWindow, FormStartPosition startPosition, DataSourceDescriptor dataSourceDescriptor);
 
    public abstract object AddDataSourceInstance(IDesignerHost? host, DataSourceDescriptor dataSourceDescriptor);
 
    public abstract void NotifyDataSourceComponentAdded(object dsc);
}