Skip to content

1b619755 4f14 ed6a bbc9 f8a9e77ff3ac

Axel Kesseler edited this page Mar 1, 2023 · 18 revisions

FormatterBase.GetConverted Method (Object)

This method converts provided parameter value into its string representation.

Namespace: Plexdata.LogWriter.Internals.Formatters
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

protected string GetConverted(
	Object value
)

Parameters

 

value
Type: System.Object
The value to be converted.

Return Value

Type: String
The string representation of converted value.

Remarks

This method uses the type formatter extension for a value conversion. If the value conversion fails and value is not null then method ToString() is used. Otherwise an empty string is returned.

See Also

Reference

FormatterBase Class
GetConverted Overload
Plexdata.LogWriter.Internals.Formatters Namespace
TypeFormatterExtension.TryFormat(TValue)(TValue, IFormatProvider, String)

Clone this wiki locally