C# Class FSClient.DurationTimeConverter

Inheritance: IValueConverter
Show file Open project: mitchcapper/FSClient Class Usage Examples

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object
Convert ( System.TimeSpan duration ) : string
ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object

Convert() public static method

public static Convert ( System.TimeSpan duration ) : string
duration System.TimeSpan
return string

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object