ProjectManager.ManagerTaskAsync Method

Definition

If file can be uniquely associated with a compilation unit, executes executeTask on the CompilationUnitManager of that project (if one exists), passing true as second argument.

Executes executeTask on the Microsoft.Quantum.QsCompiler.CompilationBuilder.ProjectManager.defaultManager otherwise, passing false as second argument.
public System.Threading.Tasks.Task ManagerTaskAsync (Uri file, Action<Microsoft.Quantum.QsCompiler.CompilationBuilder.CompilationUnitManager,bool> executeTask);
member this.ManagerTaskAsync : Uri * Action<Microsoft.Quantum.QsCompiler.CompilationBuilder.CompilationUnitManager, bool> -> System.Threading.Tasks.Task
Public Function ManagerTaskAsync (file As Uri, executeTask As Action(Of CompilationUnitManager, Boolean)) As Task

Parameters

file
Uri

Returns

Task

Applies to