Share via


IDiagnosticManagerService Interface

Definition

Service for reporting diagnostics.

public interface class IDiagnosticManagerService : IDisposable
public interface IDiagnosticManagerService : IDisposable
type IDiagnosticManagerService = interface
    interface IDisposable
Public Interface IDiagnosticManagerService
Implements IDisposable
Implements

Methods

AddBuildOnlyDiagnosticCodesAsync(IReadOnlyList<String>, CancellationToken)

Indicates the diagnosticCodes will always be a BuildError.

AppendDiagnosticsAsync(String, IReadOnlyList<DiagnosticCollection>, CancellationToken)

Append the diagnostics in diagnostics to the previously reported diagnostics for generatorId.

ClearAllDiagnosticsAsync(CancellationToken)

Remove all diagnostics created by the IDiagnosticManagerService.

ClearDiagnosticsAsync(String, CancellationToken)

Clear all diagnostics associated with the specified generatorId.

SetDiagnosticsAsync(String, IReadOnlyList<DiagnosticCollection>, CancellationToken)

Replace the previously reported diagnostics for generatorId with diagnostics.

Applies to