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

Inheritance: AbstractSubSystem, IConversionManager, ITypeConverterContext
Exibir arquivo Open project: nats/castle-1.0.3-mono

Private Properties

Property Type Description

Public Methods

Method Description
Add ( ITypeConverter converter ) : void
CanHandleType ( Type type ) : bool
CanHandleType ( Type type, IConfiguration configuration ) : bool
DefaultConversionManager ( ) : System
IsSupportedAndPrimitiveType ( Type type ) : bool
PerformConversion ( IConfiguration configuration, Type targetType ) : object
PerformConversion ( String value, Type targetType ) : object
PopModel ( ) : void
PushModel ( ComponentModel model ) : void

Protected Methods

Method Description
InitDefaultConverters ( ) : void

Method Details

Add() public method

public Add ( ITypeConverter converter ) : void
converter ITypeConverter
return void

CanHandleType() public method

public CanHandleType ( Type type ) : bool
type System.Type
return bool

CanHandleType() public method

public CanHandleType ( Type type, IConfiguration configuration ) : bool
type System.Type
configuration IConfiguration
return bool

DefaultConversionManager() public method

public DefaultConversionManager ( ) : System
return System

InitDefaultConverters() protected method

protected InitDefaultConverters ( ) : void
return void

IsSupportedAndPrimitiveType() public method

public IsSupportedAndPrimitiveType ( Type type ) : bool
type System.Type
return bool

PerformConversion() public method

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

PerformConversion() public method

public PerformConversion ( String value, Type targetType ) : object
value String
targetType System.Type
return object

PopModel() public method

public PopModel ( ) : void
return void

PushModel() public method

public PushModel ( ComponentModel model ) : void
model Castle.Core.ComponentModel
return void