Table of Contents

Interface IAdditionalParameterConverter

Namespace
Loehnert.TypeAndResult.Additional
Assembly
Loehnert.TypeAndResult.dll

Converts a Value to a Text and back.

public interface IAdditionalParameterConverter

Methods

Convert(object, CultureInfo)

Converts a value to an culture irrelevant string.

string Convert(object value, CultureInfo culture)

Parameters

value object

Value to convert.

culture CultureInfo

Culture for the result string.

Returns

string

The value as a string.

ConvertBack(string, CultureInfo)

Converts a culture irrelevant string back to the original type.

object ConvertBack(string value, CultureInfo culture)

Parameters

value string

Convertible value as string.

culture CultureInfo

Culture for the value to convert.

Returns

object

The string value as original type.