C# Класс 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.
Наследование: IValueConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Convert() публичный Метод

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.
Результат object

ConvertBack() публичный Метод

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.
Результат object

SuspendableBindingConverter() публичный Метод

Initializes a new instance of the SuspendableBindingConverter class.
public SuspendableBindingConverter ( IValueConverter internalConverter, WatchdogBinding binding ) : System
internalConverter IValueConverter The internal converter.
binding WatchdogBinding The binding.
Результат System