957947a0 c9bd 2776 0b1a 6034214e02ed - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateParser.ParseTextMarker Method

Parses a text marker.

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

Syntax

C#

private static BaseToken ParseTextMarker(
	int index,
	ref int after,
	StringBuilder source
)

Parameters

 

index
Type: System.Int32
The index at where to start parsing.
after
Type: System.Int32
The next index behind the text token.
source
Type: System.Text.StringBuilder
The source format string.

Return Value

Type: BaseToken
An instance of class TextToken containing the text part.

Remarks

This method tries to find the next text marker within the original format string and returns it as instance of class TextToken.

See Also

Reference

TemplateParser Class
Plexdata.Utilities.Formatting.Helpers Namespace

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