ProjectManager.LoadProjectsAsync Method

Definition

Used for initial project loading.

public System.Threading.Tasks.Task LoadProjectsAsync (System.Collections.Generic.IEnumerable<Uri> projectFiles, Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectInformation.Loader projectLoader, Func<Uri,Microsoft.Quantum.QsCompiler.CompilationBuilder.FileContentManager?>? openInEditor = default, bool enableLazyLoading = true);
member this.LoadProjectsAsync : seq<Uri> * Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectInformation.Loader * Func<Uri, Microsoft.Quantum.QsCompiler.CompilationBuilder.FileContentManager> * bool -> System.Threading.Tasks.Task
Public Function LoadProjectsAsync (projectFiles As IEnumerable(Of Uri), projectLoader As ProjectInformation.Loader, Optional openInEditor As Func(Of Uri, FileContentManager) = Nothing, Optional enableLazyLoading As Boolean = true) As Task

Parameters

projectFiles
IEnumerable<Uri>
openInEditor
Func<Uri,FileContentManager>
enableLazyLoading
Boolean

Returns

Task

Remarks

By calling this routine, all processing will be blocked until loading has finished.

Applies to