b00c9114 871b d886 bb87 b84e0ed158e9 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateWeaver Class

This class weaves the result.

Inheritance Hierarchy

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

Syntax

C#

internal static class TemplateWeaver

The TemplateWeaver type exposes the following members.

Constructors

 

Name Description
Private methodStatic member TemplateWeaver Default static construction.
  Back to Top

Methods

 

Name Description
Private methodStatic member AddPadding Adds value padding if necessary.
Private methodStatic member GetFormattedValue Converts the argument into its string representation.
Private methodStatic member GetPadding Gets the padding length.
Private methodStatic member HandleException Converts an exception into a string and returns it.
Private methodStatic member IsWeaveAllByIndex This method determines whether all hole tokens can be handled by index.
Private methodStatic member ToFormattedValue Turns the argument into its formatted representation.
Private methodStatic member ToSpreadingValue Converts the argument by serializing it.
Private methodStatic member ToStringifyValue Converts the argument into a string.
Public methodStatic member Weave Assembles the result string.
Private methodStatic member WeaveByIndex Creates the formatted output by index.
Private methodStatic member WeaveByLabel Creates the formatted output by label.
Private methodStatic member WeaveHoleToken Formats the related argument and appends it to the result.
Private methodStatic member WeaveTextToken Appends a text token to the output.
Private methodStatic member WeaveVoidToken Appends a void token to the output.
  Back to Top

Fields

 

Name Description
Private fieldStatic member FallbackSerializer This field holds the fallback serializer.
  Back to Top

Remarks

In other words, this class assembles the result.

See Also

Reference

Plexdata.Utilities.Formatting.Helpers Namespace

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