ProjectManager.ProjectChangedOnDiskAsync Method
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.
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
- projectLoader
- ProjectInformation.Loader
- openInEditor
- Func<Uri,FileContentManager>
Returns
Remarks
Not to be used to update content (will not update content unless it is new/removed content)!