d6fddc0e 2c3f 5447 0982 9c695cb3fa86 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

DefaultSerializer.Serialize Method

Converts the argument into a string.

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

Syntax

C#

public string Serialize(
	IFormatProvider provider,
	string format,
	string lining,
	Object argument
)

Parameters

 

provider
Type: System.IFormatProvider
An instance of IFormatProvider to be used to format any of the serialized properties. This parameter might be null.
format
Type: System.String
The optional format string. This parameter represents the format specification that comes from the original input format.
lining
Type: System.String
The optional lining string. This parameter represents the alignment specification that comes from the original input format.
argument
Type: System.Object

Return Value

Type: String
A string representing the text version of provided argument.

Implements

IArgumentSerializer.Serialize(IFormatProvider, String, String, Object)

Remarks

This method tries to convert the provided argument into a string.

See Also

Reference

DefaultSerializer Class
Plexdata.Utilities.Formatting.Helpers Namespace

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