Class AddConverter
- Namespace
- Tudormobile.Strava.UI.Converters
- Assembly
- Tudormobile.Strava.UI.dll
A value converter that adds a specified value (parameter) to the input value.
public class AddConverter : IValueConverter
- Inheritance
-
AddConverter
- Implements
- Inherited Members
Methods
Convert(object?, Type, object?, CultureInfo?)
Converts the input value by adding the specified parameter to it.
public object Convert(object? value, Type targetType, object? parameter, CultureInfo? culture = null)
Parameters
valueobjectThe input value to be converted.
targetTypeTypeThe target type of the conversion (not used).
parameterobjectThe value to add to the input value.
cultureCultureInfoThe culture information (not used).
Returns
- object
The result of adding the parameter to the input value.
ConvertBack(object?, Type, object?, CultureInfo?)
This method is not implemented.
public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo? culture = null)
Parameters
valueobjectThe value to be converted back (not used).
targetTypeTypeThe target type of the conversion (not used).
parameterobjectThe parameter for the conversion (not used).
cultureCultureInfoThe culture information (not used).
Returns
- object
Throws a NotImplementedException.
Exceptions
- NotImplementedException
Always thrown as this method is not implemented.