NameDecorator.Decorate Method

Definition

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

QsQualifiedName

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

String

The decorated name.

Applies to