ProjectManager.ProjectChangedOnDiskAsync Method

Definition

To be used whenever a project file is added, removed or updated.

public System.Threading.Tasks.Task ProjectChangedOnDiskAsync (Uri projectFile, Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectInformation.Loader projectLoader, Func<Uri,Microsoft.Quantum.QsCompiler.CompilationBuilder.FileContentManager?>? openInEditor = default);
member this.ProjectChangedOnDiskAsync : Uri * Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectInformation.Loader * Func<Uri, Microsoft.Quantum.QsCompiler.CompilationBuilder.FileContentManager> -> System.Threading.Tasks.Task
Public Function ProjectChangedOnDiskAsync (projectFile As Uri, projectLoader As ProjectInformation.Loader, Optional openInEditor As Func(Of Uri, FileContentManager) = Nothing) As Task

Parameters

projectFile
Uri
openInEditor
Func<Uri,FileContentManager>

Returns

Task

Remarks

Not to be used to update content (will not update content unless it is new/removed content)!

Applies to