C# Class mRemoteNG.Tools.MiscTools.EnumTypeConverter

Inheritance: System.ComponentModel.EnumConverter
Afficher le fichier Open project: mRemoteNG/mRemoteNG

Méthodes publiques

Méthode Description
CanConvertFrom ( ITypeDescriptorContext context, Type srcType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destType ) : object
EnumTypeConverter ( Type type ) : System

Method Details

CanConvertFrom() public méthode

public CanConvertFrom ( ITypeDescriptorContext context, Type srcType ) : bool
context ITypeDescriptorContext
srcType System.Type
Résultat bool

CanConvertTo() public méthode

public CanConvertTo ( ITypeDescriptorContext context, Type destType ) : bool
context ITypeDescriptorContext
destType System.Type
Résultat bool

ConvertFrom() public méthode

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

ConvertTo() public méthode

public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destType System.Type
Résultat object

EnumTypeConverter() public méthode

public EnumTypeConverter ( Type type ) : System
type System.Type
Résultat System