C# Класс IdeaBlade.Windows.ParameterTypeConverter

TypeConverter for the Parameter type.
Наследование: System.ComponentModel.TypeConverter
Показать файл Открыть проект

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

Метод Описание
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool

Returns true if converting from a string to a Parameter.

CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool

Returns true if converting from a Parameter to a string.

ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object

Returns a Parameter from the given string.

ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object

Returns the string representation of a Parameter.

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

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

Returns true if converting from a string to a Parameter.
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
Результат bool

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

Returns true if converting from a Parameter to a string.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Результат bool

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

Returns a Parameter from the given string.
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
Результат object

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

Returns the string representation of a Parameter.
public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
Результат object