C# Class Watchdog.Validation.Core.Internal.SuspendableBindingConverter

A Decorator on another IValueConverter which will use the WatchdogBinding.SuspendTransfer flag to determine whether a transfer between source and target should actually occur or whether the a transfer should be stopped.
Inheritance: IValueConverter
ファイルを表示 Open project: JDolinger/Watchdog

Public Methods

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

Converts a value.

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

Converts a value.

SuspendableBindingConverter ( IValueConverter internalConverter, WatchdogBinding binding ) : System

Initializes a new instance of the SuspendableBindingConverter class.

Method Details

Convert() public method

Converts a value.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
return object

ConvertBack() public method

Converts a value.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value that is produced by the binding target.
targetType System.Type The type to convert to.
parameter object The converter parameter to use.
culture System.Globalization.CultureInfo The culture to use in the converter.
return object

SuspendableBindingConverter() public method

Initializes a new instance of the SuspendableBindingConverter class.
public SuspendableBindingConverter ( IValueConverter internalConverter, WatchdogBinding binding ) : System
internalConverter IValueConverter The internal converter.
binding WatchdogBinding The binding.
return System