C# Класс 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.
Наследование: Castle.MicroKernel.Facilities.AbstractFacility
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DelegateFactoryKey string
FactoryMapCacheKey string
InterceptorKey string
IsFactoryKey string

Защищенные методы

Метод Описание
AddFactories ( IConfiguration facilityConfig, ITypeConverter converter ) : void
Init ( ) : void
RegisterFactory ( string id, Type type, string selector ) : void

Приватные методы

Метод Описание
AddTypedFactoryEntry ( FactoryEntry entry ) : void
InitFacility ( ) : void
LegacyInit ( ) : void
LegacyRegisterFactory ( string id, Type factoryType, string creation, string destruction ) : void

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

AddFactories() защищенный Метод

protected AddFactories ( IConfiguration facilityConfig, ITypeConverter converter ) : void
facilityConfig IConfiguration
converter ITypeConverter
Результат void

Init() защищенный Метод

protected Init ( ) : void
Результат void

RegisterFactory() защищенный Метод

protected RegisterFactory ( string id, Type type, string selector ) : void
id string
type System.Type
selector string
Результат void

Описание свойств

DelegateFactoryKey публичное статическое свойство

public static string DelegateFactoryKey
Результат string

FactoryMapCacheKey публичное статическое свойство

public static string FactoryMapCacheKey
Результат string

InterceptorKey публичное статическое свойство

public static string InterceptorKey
Результат string

IsFactoryKey публичное статическое свойство

public static string IsFactoryKey
Результат string