A value converter that simply calls Trim() on a string value.
Public Member Functions |
|
object | Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Convert a String to its Trim()-ed version.
|
|
object | ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
Not implemented, as it is impossible to
untrim a trimmed string. |
object CSharpUtilities::StringTrimmer::Convert | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture | ||
) | [inline] |
Convert a String to its Trim()-ed version.
Implementation of interface method.
value | The String to convert. |
targetType | The String type. |
parameter | A conversion parameter (should be empty.) |
culture | The current system culture. |
object CSharpUtilities::StringTrimmer::ConvertBack | ( | object | value, |
Type | targetType, | ||
object | parameter, | ||
System.Globalization.CultureInfo | culture | ||
) | [inline] |
Not implemented, as it is impossible to untrim a trimmed string.
value | empty |
targetType | empty |
parameter | empty |
culture | empty |