|
// 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.
namespace Microsoft.CodeAnalysis.Host;
/// <summary>
/// Extensible document properties specified via a document service.
/// </summary>
internal class DocumentPropertiesService : IDocumentService
{
public static readonly DocumentPropertiesService Default = new();
/// <summary>
/// The LSP client name that should get the diagnostics produced by this document; any other source
/// will not show these diagnostics. For example, razor uses this to exclude diagnostics from the error list
/// so that they can handle the final display.
/// If null, the diagnostics do not have this special handling.
/// </summary>
public virtual string? DiagnosticsLspClientName => null;
}
|