QsNamespace.WithElements 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.
public Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace WithElements (Func<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespaceElement>,System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespaceElement>> getElements);
member this.WithElements : Func<System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespaceElement>, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespaceElement>> -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsNamespace
Public Function WithElements (getElements As Func(Of ImmutableArray(Of QsNamespaceElement), ImmutableArray(Of QsNamespaceElement))) As QsNamespace
Parameters
- getElements
- Func<ImmutableArray<QsNamespaceElement>,ImmutableArray<QsNamespaceElement>>