C# 클래스 Castle.MicroKernel.SubSystems.Conversion.AttributeAwareConverter

Looks for a ConvertibleAttribute on the type to be converted. If found, the TypeConverter defined by the attribute is used to perform the conversion.
상속: AbstractTypeConverter
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
CanHandleType ( Type type ) : bool
PerformConversion ( IConfiguration configuration, Type targetType ) : object
PerformConversion ( string value, Type targetType ) : object

비공개 메소드들

메소드 설명
GetConverterInstance ( Type type ) : ITypeConverter
TryGetConverterInstance ( Type type ) : ITypeConverter

메소드 상세

CanHandleType() 공개 메소드

public CanHandleType ( Type type ) : bool
type System.Type
리턴 bool

PerformConversion() 공개 메소드

public PerformConversion ( IConfiguration configuration, Type targetType ) : object
configuration IConfiguration
targetType System.Type
리턴 object

PerformConversion() 공개 메소드

public PerformConversion ( string value, Type targetType ) : object
value string
targetType System.Type
리턴 object