C# Class IdeaBlade.Windows.ParameterTypeConverter

TypeConverter for the Parameter type.
Inheritance: System.ComponentModel.TypeConverter
Afficher le fichier Open project: IdeaBlade/DevForce.Utilities

Méthodes publiques

Méthode Description
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.

Method Details

CanConvertFrom() public méthode

Returns true if converting from a string to a Parameter.
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
Résultat bool

CanConvertTo() public méthode

Returns true if converting from a Parameter to a string.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Résultat bool

ConvertFrom() public méthode

Returns a Parameter from the given string.
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
Résultat object

ConvertTo() public méthode

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
Résultat object