C# Класс Castle.MicroKernel.SubSystems.Conversion.AbstractTypeConverter

Наследование: ITypeConverter
Показать файл Открыть проект

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

Метод Описание
CanHandleType ( Type type ) : bool
CanHandleType ( Type type, IConfiguration configuration ) : bool

Returns true if this instance of ITypeConverter is able to handle the specified type with the specified configuration

The default behavior is to just pass it to the normal CanHadnleType peeking into the configuration is used for some advanced functionality

PerformConversion ( IConfiguration configuration, Type targetType ) : object
PerformConversion ( String value, Type targetType ) : object

Описание методов

CanHandleType() публичный абстрактный Метод

public abstract CanHandleType ( Type type ) : bool
type System.Type
Результат bool

CanHandleType() публичный Метод

Returns true if this instance of ITypeConverter is able to handle the specified type with the specified configuration
The default behavior is to just pass it to the normal CanHadnleType peeking into the configuration is used for some advanced functionality
public CanHandleType ( Type type, IConfiguration configuration ) : bool
type System.Type
configuration IConfiguration
Результат bool

PerformConversion() публичный абстрактный Метод

public abstract PerformConversion ( IConfiguration configuration, Type targetType ) : object
configuration IConfiguration
targetType System.Type
Результат object

PerformConversion() публичный абстрактный Метод

public abstract PerformConversion ( String value, Type targetType ) : object
value String
targetType System.Type
Результат object