NameDecorator.Decorate 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.
Overloads
| Decorate(QsQualifiedName, Int32) |
Decorates the name of the qualified name with the label of this name decorator and the given number. |
| Decorate(String, Int32) |
Decorates the name with the label of this name decorator and the given number. |
Decorate(QsQualifiedName, Int32)
Decorates the name of the qualified name with the label of this name decorator and the given number.
public Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName Decorate (Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName name, int number);
member this.Decorate : Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName * int -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsQualifiedName
Public Function Decorate (name As QsQualifiedName, number As Integer) As QsQualifiedName
Parameters
- name
- QsQualifiedName
The qualified name to decorate.
- number
- Int32
The number to use along with the label to decorate the qualified name.
Returns
The decorated qualified name.
Applies to
Decorate(String, Int32)
Decorates the name with the label of this name decorator and the given number.
public string Decorate (string name, int number);
member this.Decorate : string * int -> string
Public Function Decorate (name As String, number As Integer) As String
Parameters
- name
- String
The name to decorate.
- number
- Int32
The number to use along with the label to decorate the name.
Returns
The decorated name.