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
Показать файл Открыть проект

Открытые методы

Метод Описание
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