Table of Contents

Class StringToStringConverter

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

Converts a string to a string. (Does nothing.)

public class StringToStringConverter : IAdditionalParameterConverter
Inheritance
StringToStringConverter
Implements
Inherited Members

Methods

Convert(object, CultureInfo)

Converts a string to a string.

public string Convert(object value, CultureInfo culture)

Parameters

value object

A string value.

culture CultureInfo

Culture for the returning string (not used).

Returns

string

The string as it is.

Exceptions

ArgumentException

Thrown when value is not a string.

ConvertBack(string, CultureInfo)

Converts a string to a string.

public object ConvertBack(string value, CultureInfo culture)

Parameters

value string

A string value.

culture CultureInfo

Culture for the returning string (not used).

Returns

object

The string as it is.