Table of Contents

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

value object

The input value to be converted.

targetType Type

The target type of the conversion (not used).

parameter object

The value to add to the input value.

culture CultureInfo

The 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

value object

The value to be converted back (not used).

targetType Type

The target type of the conversion (not used).

parameter object

The parameter for the conversion (not used).

culture CultureInfo

The culture information (not used).

Returns

object

Throws a NotImplementedException.

Exceptions

NotImplementedException

Always thrown as this method is not implemented.