-
Notifications
You must be signed in to change notification settings - Fork 0
a48a5c17 7661 1454 684d 4703f1e002be
Axel Kesseler edited this page Mar 1, 2023
·
1 revision
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
C#
protected string GetConverted(
Object value,
string standard
)
- value
- Type: System.Object
The value to be converted. - standard
- Type: System.String
The value to be used as standard result.
Type: String
The string representation of converted value.
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 value of standard is returned.
FormatterBase Class
GetConverted Overload
Plexdata.LogWriter.Internals.Formatters Namespace
TypeFormatterExtension.TryFormat(TValue)(TValue, IFormatProvider, String)