|
// 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;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.ExternalAccess.Xaml;
/// <summary>
/// Represents a service to be exported via MEF for language server initialization.
/// </summary>
[Obsolete("Use IOnInitializedService instead.")]
internal interface IInitializationService
{
/// <summary>
/// Called when the language server is being initialized.
/// </summary>
Task OnInitializedAsync(IClientRequestManager clientRequestManager, IClientCapabilityProvider capabilityProvider, CancellationToken cancellationToken);
}
|