Table of Contents

Class StringConverters.TypeConverterAdapter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IObjectToString interface implementation which uses TypeConverter for the conversion.

public class StringConverters.TypeConverterAdapter : IObjectToString
Inheritance
StringConverters.TypeConverterAdapter
Implements

Constructors

TypeConverterAdapter(TypeConverter)

Initializes a new instance of the StringConverters.TypeConverterAdapter class.

Methods

ToString(object?, object)

Converts the value to its equivalent string representation.

ToString(object?, object, ITypeDescriptorContext?, CultureInfo?, bool)

Converts the value to its equivalent string representation, using the specified context and culture information.

ToString(object?, object, IFormatProvider?)

Converts the value to its equivalent string representation using the specified culture-specific format information.

ToString(object?, object, string?)

Converts the value to its equivalent string representation, using the specified format.

ToString(object?, object, string?, IFormatProvider?)

Converts the value to its equivalent string representation using the specified format and culture-specific format information.

TryConvert(object?, object, IObjectToStringOptions?, out string?)

Tries to convert value to string using the specified arguments.