e0ddd220 5dc4 8426 02de 426ee144bef0 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateParser Class

Performs the template parsing.

Inheritance Hierarchy

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

Syntax

C#

internal static class TemplateParser

The TemplateParser type exposes the following members.

Methods

 

Name Description
Private methodStatic member IsValidHoleMarker Checks the validity of provided hole marker.
Public methodStatic member Parse Parses a format string and returns a list of corresponding BaseTokens.
Private methodStatic member ParseHoleMarker Parses a hole marker.
Private methodStatic member ParseTextMarker Parses a text marker.
  Back to Top

Fields

 

Name Description
Private fieldStatic member DefaultCapacity This field holds the constant value of default capacity.
  Back to Top

Remarks

This class does the actual template parsing and creates a list of recognized formatting tokens that are used later on for the real string formatting.

See Also

Reference

Plexdata.Utilities.Formatting.Helpers Namespace

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