ProjectManager Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ProjectManager (Action<Exception>? exceptionLogger, Action<string,Microsoft.VisualStudio.LanguageServer.Protocol.MessageType>? log = default, Action<Microsoft.VisualStudio.LanguageServer.Protocol.PublishDiagnosticParams>? publishDiagnostics = default, Microsoft.Quantum.QsCompiler.CompilationBuilder.SendTelemetryHandler? sendTelemetry = default);
new Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectManager : Action<Exception> * Action<string, Microsoft.VisualStudio.LanguageServer.Protocol.MessageType> * Action<Microsoft.VisualStudio.LanguageServer.Protocol.PublishDiagnosticParams> * Microsoft.Quantum.QsCompiler.CompilationBuilder.SendTelemetryHandler -> Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectManager
Public Sub New (exceptionLogger As Action(Of Exception), Optional log As Action(Of String, MessageType) = Nothing, Optional publishDiagnostics As Action(Of PublishDiagnosticParams) = Nothing, Optional sendTelemetry As SendTelemetryHandler = Nothing)
Parameters
- log
- Action<String,MessageType>
- publishDiagnostics
- Action<PublishDiagnosticParams>
- sendTelemetry
- SendTelemetryHandler
Remarks
If publishDiagnostics is not null, it is called whenever diagnostics for the project have changed and are ready for publishing.
Any exceptions caught during processing are logged using exceptionLogger.