C# Class Castle.MicroKernel.SubSystems.Conversion.AbstractTypeConverter

Inheritance: ITypeConverter
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
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

Method Details

CanHandleType() public abstract méthode

public abstract CanHandleType ( Type type ) : bool
type System.Type
Résultat bool

CanHandleType() public méthode

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
Résultat bool

PerformConversion() public abstract méthode

public abstract PerformConversion ( IConfiguration configuration, Type targetType ) : object
configuration IConfiguration
targetType System.Type
Résultat object

PerformConversion() public abstract méthode

public abstract PerformConversion ( String value, Type targetType ) : object
value String
targetType System.Type
Résultat object