C# 클래스 Mono.MoonlightTypeConverter

상속: System.ComponentModel.TypeConverter
파일 보기 프로젝트 열기: shana/moon 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
destinationKind Kind
destinationType System.Type
nullableDestination bool
propertyName string

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetGetterMethodForAttachedDP ( DependencyProperty dp, object obj ) : MethodInfo

메소드 상세

CanConvertFrom() 공개 메소드

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
리턴 bool

ConvertFrom() 공개 메소드

public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object
context ITypeDescriptorContext
culture System
value object
리턴 object

ConvertObject() 공개 정적인 메소드

public static ConvertObject ( DependencyProperty dp, object val, Type objectType, bool doToStringConversion ) : object
dp System.Windows.DependencyProperty
val object
objectType System.Type
doToStringConversion bool
리턴 object

ConvertObject() 공개 정적인 메소드

public static ConvertObject ( PropertyInfo prop, object val, Type objectType ) : object
prop System.Reflection.PropertyInfo
val object
objectType System.Type
리턴 object

IsAssignableToIConvertible() 공개 정적인 메소드

public static IsAssignableToIConvertible ( Type type ) : bool
type System.Type
리턴 bool

MoonlightTypeConverter() 공개 메소드

public MoonlightTypeConverter ( string propertyName, Type destinationType ) : Mono
propertyName string
destinationType System.Type
리턴 Mono

ValueFromConvertible() 공개 정적인 메소드

public static ValueFromConvertible ( Type type, IConvertible value ) : object
type System.Type
value IConvertible
리턴 object

프로퍼티 상세

destinationKind 보호되어 있는 프로퍼티

protected Kind destinationKind
리턴 Kind

destinationType 보호되어 있는 프로퍼티

protected Type,System destinationType
리턴 System.Type

nullableDestination 보호되어 있는 프로퍼티

protected bool nullableDestination
리턴 bool

propertyName 보호되어 있는 프로퍼티

protected string propertyName
리턴 string