5e192144 f7ec bd9e d728 bdb4fc82906b - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateWeaver.WeaveHoleToken Method

Formats the related argument and appends it to the result.

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

Syntax

C#

private static void WeaveHoleToken(
	this BaseToken token,
	Options options,
	int index,
	StringBuilder output,
	Object[] arguments
)

Parameters

 

token
Type: Plexdata.Utilities.Formatting.Entities.BaseToken
The token to be processed.
options
Type: Plexdata.Utilities.Formatting.Options
The options to be used.
index
Type: System.Int32
The zero-based index of the related argument.
output
Type: System.Text.StringBuilder
The output where to put the results.
arguments
Type: System.Object[]
The list of arguments to be processed.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseToken. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method formats the related argument and appends it to the result. Furthermore, value padding (if needed) is also applied.

See Also

Reference

TemplateWeaver Class
Plexdata.Utilities.Formatting.Helpers Namespace

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