C# Class Castle.Facilities.TypedFactory.TypedFactoryFacility

Provides automatically generated factories on top of interfaces or delegates that you can use to pull components out of the container without ever referencing it explicitly.
Inheritance: Castle.MicroKernel.Facilities.AbstractFacility
ファイルを表示 Open project: castleproject/Windsor Class Usage Examples

Public Properties

Property Type Description
DelegateFactoryKey string
FactoryMapCacheKey string
InterceptorKey string
IsFactoryKey string

Protected Methods

Method Description
AddFactories ( IConfiguration facilityConfig, ITypeConverter converter ) : void
Init ( ) : void
RegisterFactory ( string id, Type type, string selector ) : void

Private Methods

Method Description
AddTypedFactoryEntry ( FactoryEntry entry ) : void
InitFacility ( ) : void
LegacyInit ( ) : void
LegacyRegisterFactory ( string id, Type factoryType, string creation, string destruction ) : void

Method Details

AddFactories() protected method

protected AddFactories ( IConfiguration facilityConfig, ITypeConverter converter ) : void
facilityConfig IConfiguration
converter ITypeConverter
return void

Init() protected method

protected Init ( ) : void
return void

RegisterFactory() protected method

protected RegisterFactory ( string id, Type type, string selector ) : void
id string
type System.Type
selector string
return void

Property Details

DelegateFactoryKey public_oe static_oe property

public static string DelegateFactoryKey
return string

FactoryMapCacheKey public_oe static_oe property

public static string FactoryMapCacheKey
return string

InterceptorKey public_oe static_oe property

public static string InterceptorKey
return string

IsFactoryKey public_oe static_oe property

public static string IsFactoryKey
return string