C# Class MemberConverter, code

Inheritance: TypeConverter
Afficher le fichier Open project: shendongnian/code Class Usage Examples

Méthodes publiques

Méthode Description
CanConvertFrom ( ITypeDescriptorContext context, Type, sourceType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo, culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo, culture, object value, Type, destinationType ) : object

Method Details

CanConvertFrom() public méthode

public CanConvertFrom ( ITypeDescriptorContext context, Type, sourceType ) : bool
context ITypeDescriptorContext
sourceType Type,
Résultat bool

ConvertFrom() public méthode

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo, culture, object value ) : object
context ITypeDescriptorContext
culture CultureInfo,
value object
Résultat object

ConvertTo() public méthode

public ConvertTo ( ITypeDescriptorContext context, CultureInfo, culture, object value, Type, destinationType ) : object
context ITypeDescriptorContext
culture CultureInfo,
value object
destinationType Type,
Résultat object