ed796540 b1ee e6be a1f6 f10b0c096a0d - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TemplateWeaver.ToSpreadingValue Method

Converts the argument by serializing it.

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

Syntax

C#

private static string ToSpreadingValue(
	this BaseToken token,
	Options options,
	Object argument
)

Parameters

 

token
Type: Plexdata.Utilities.Formatting.Entities.BaseToken
The token to be processed.
options
Type: Plexdata.Utilities.Formatting.Options
The options to be used.
argument
Type: System.Object
The argument to be formatted.

Return Value

Type: String
The argument in its formatted representation.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type 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 converts the argument by serializing it. But keep in mind, serialization takes place only for complex data types. The argument is only formatted if it is recognized as system type.

See Also

Reference

TemplateWeaver Class
Plexdata.Utilities.Formatting.Helpers Namespace

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