File: Diagnostics\IVisualStudioDiagnosticAnalyzerProviderFactory.cs
Web Access
Project: src\src\VisualStudio\Core\Def\Microsoft.VisualStudio.LanguageServices_dqtbjz24_wpftmp.csproj (Microsoft.VisualStudio.LanguageServices)
// 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.Threading;
using System.Threading.Tasks;
 
namespace Microsoft.VisualStudio.LanguageServices.Implementation.Diagnostics;
 
/// <summary>
/// Abstraction for testing purposes.
/// </summary>
internal interface IVisualStudioDiagnosticAnalyzerProviderFactory
{
    Task<VisualStudioDiagnosticAnalyzerProvider> GetOrCreateProviderAsync(CancellationToken cancellationToken);
}