1880603e 25f5 16c0 2881 5aed2f7869ab - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateWeaver.WeaveByIndex Method

Creates the formatted output by index.

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

Syntax

C#

private static void WeaveByIndex(
	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 the order of their index.

See Also

Reference

TemplateWeaver Class
Plexdata.Utilities.Formatting.Helpers Namespace

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