C# Class BaseValueConverter, code

Inheritance: MarkupExtension, IValueConverter
ファイルを表示 Open project: shendongnian/code

Public Methods

Method Description
Convert ( object value, Type, targetType, object parameter, CultureInfo, culture ) : object

The method to convert one type to another

ConvertBack ( object value, Type, targetType, object parameter, CultureInfo, culture ) : object

The method to convert a value back to it's source type

ProvideValue ( IServiceProvider, serviceProvider ) : object

Provides a static instance of the value converter

Method Details

Convert() public abstract method

The method to convert one type to another
public abstract Convert ( object value, Type, targetType, object parameter, CultureInfo, culture ) : object
value object
targetType Type,
parameter object
culture CultureInfo,
return object

ConvertBack() public abstract method

The method to convert a value back to it's source type
public abstract ConvertBack ( object value, Type, targetType, object parameter, CultureInfo, culture ) : object
value object
targetType Type,
parameter object
culture CultureInfo,
return object

ProvideValue() public method

Provides a static instance of the value converter
public ProvideValue ( IServiceProvider, serviceProvider ) : object
serviceProvider IServiceProvider, The service provider
return object