References.Headers(String, IEnumerable<QsNamespace>) 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.
Initializes a set of reference headers based on the syntaxTree loaded from source.
public Headers (string source, System.Collections.Generic.IEnumerable<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace> syntaxTree);
new Microsoft.Quantum.QsCompiler.CompilationBuilder.References.Headers : string * seq<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace> -> Microsoft.Quantum.QsCompiler.CompilationBuilder.References.Headers
Public Sub New (source As String, syntaxTree As IEnumerable(Of QsNamespace))
Parameters
- source
- String
- syntaxTree
- IEnumerable<QsNamespace>
Remarks
source is expected to be the path to the dll from which syntaxTree has been loaded.
Returns an empty set of headers if syntaxTree is null.