CompilationUnitManager.Compilation.NamespaceComments(String, String) Method

Definition

Gets non-documentation comments for a namespace.

public Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments NamespaceComments (string sourceFile, string nsName);
member this.NamespaceComments : string * string -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments
Public Function NamespaceComments (sourceFile As String, nsName As String) As QsComments

Parameters

sourceFile
String
nsName
String

Returns

QsComments

Remarks

If file sourceFile does not exist in the compilation, or there is not exactly one (partial) namespace nsName, returns a set of empty comments.

Applies to