d8bae7e3 a71e 34ce eaf0 54b80cae56b1 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateWeaver.WeaveByLabel Method

Creates the formatted output by label.

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

Syntax

C#

private static void WeaveByLabel(
	this IEnumerable<BaseToken> tokens,
	Options options,
	StringBuilder output,
	Object[] arguments
)

Parameters

 

tokens
Type: System.Collections.Generic.IEnumerable(BaseToken)
The tokens to be assembled.
options
Type: Plexdata.Utilities.Formatting.Options
The options to be used.
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 IEnumerable(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 reassembles all tokens and inserts all arguments by left-to-right order.

See Also

Reference

TemplateWeaver Class
Plexdata.Utilities.Formatting.Helpers Namespace

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