C# Class Mono.MoonlightTypeConverter

Inheritance: System.ComponentModel.TypeConverter
Afficher le fichier Open project: shana/moon Class Usage Examples

Protected Properties

Свойство Type Description
destinationKind Kind
destinationType System.Type
nullableDestination bool
propertyName string

Méthodes publiques

Méthode Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
ConvertObject ( DependencyProperty dp, object val, Type objectType, bool doToStringConversion ) : object
ConvertObject ( PropertyInfo prop, object val, Type objectType ) : object
IsAssignableToIConvertible ( Type type ) : bool
MoonlightTypeConverter ( string propertyName, Type destinationType ) : Mono
ValueFromConvertible ( Type type, IConvertible value ) : object

Private Methods

Méthode Description
GetGetterMethodForAttachedDP ( DependencyProperty dp, object obj ) : MethodInfo

Method Details

CanConvertFrom() public méthode

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

ConvertFrom() public méthode

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

ConvertObject() public static méthode

public static ConvertObject ( DependencyProperty dp, object val, Type objectType, bool doToStringConversion ) : object
dp System.Windows.DependencyProperty
val object
objectType System.Type
doToStringConversion bool
Résultat object

ConvertObject() public static méthode

public static ConvertObject ( PropertyInfo prop, object val, Type objectType ) : object
prop System.Reflection.PropertyInfo
val object
objectType System.Type
Résultat object

IsAssignableToIConvertible() public static méthode

public static IsAssignableToIConvertible ( Type type ) : bool
type System.Type
Résultat bool

MoonlightTypeConverter() public méthode

public MoonlightTypeConverter ( string propertyName, Type destinationType ) : Mono
propertyName string
destinationType System.Type
Résultat Mono

ValueFromConvertible() public static méthode

public static ValueFromConvertible ( Type type, IConvertible value ) : object
type System.Type
value IConvertible
Résultat object

Property Details

destinationKind protected_oe property

protected Kind destinationKind
Résultat Kind

destinationType protected_oe property

protected Type,System destinationType
Résultat System.Type

nullableDestination protected_oe property

protected bool nullableDestination
Résultat bool

propertyName protected_oe property

protected string propertyName
Résultat string