a763a44b 07f9 69ca 2cd9 ea5ffe79b10f - akesseler/Plexdata.Utilities.Templates GitHub Wiki

HoleToken.ToLabel Method

Converts the symbol into a label, if possible, and returns it.

Namespace: Plexdata.Utilities.Formatting.Entities
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0

Syntax

C#

public override string ToLabel()

Return Value

Type: String
The label to be used for the corresponding value (but without the stringify tag as well as without the spreading tag), or empty if a conversion was impossible.

Remarks

This method returns the label to be used to as argument name. The corresponding value within the list of arguments is referenced by property Rating.

Furthermore, this method returns Empty if IsNumbering is currently set to true. Otherwise, it returns the value of Symbol but without prefixes, such as '@' and '$'.

See Also

Reference

HoleToken Class
Plexdata.Utilities.Formatting.Entities Namespace
BaseToken.Symbol
BaseToken.IsNumbering
BaseToken.IsStringify
BaseToken.IsSpreading
BaseToken.ToIndex()

⚠️ **GitHub.com Fallback** ⚠️