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)
public string Convert(object value, CultureInfo culture)
Parameters
value
objectA string value.
culture
CultureInfoCulture 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)
public object ConvertBack(string value, CultureInfo culture)
Parameters
value
stringA string value.
culture
CultureInfoCulture for the returning string (not used).
Returns
- object
The string as it is.