C# Класс PrismContrib.WindsorExtensions.WindsorBootstrapper

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

Private Properties

Свойство Тип Описание
CreateContainer IWindsorContainer

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

Метод Описание
Run ( bool runWithDefaultConfiguration ) : void

Run the bootstrapper process.

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

Метод Описание
ConfigureContainer ( ) : void

Configures the IWindsorContainer. May be overwritten in a derived class to add specific type mappings required by the application.

ConfigureServiceLocator ( ) : void

Configures the LocatorProvider for the ServiceLocator.

InitializeModules ( ) : void

Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog

RegisterFrameworkExceptionTypes ( ) : void

Registers in the IWindsorContainer the Type of the Exceptions that are not considered root exceptions by the ExceptionExtensions.

RegisterTypeIfMissing ( Type fromType, Type toType, bool registerAsSingleton ) : void

Registers a type in the container only if that type was not already registered.

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

Метод Описание
CreateContainer ( ) : IWindsorContainer

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

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

Configures the IWindsorContainer. May be overwritten in a derived class to add specific type mappings required by the application.
protected ConfigureContainer ( ) : void
Результат void

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

Configures the LocatorProvider for the ServiceLocator.
protected ConfigureServiceLocator ( ) : void
Результат void

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

Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
protected InitializeModules ( ) : void
Результат void

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

Registers in the IWindsorContainer the Type of the Exceptions that are not considered root exceptions by the ExceptionExtensions.
protected RegisterFrameworkExceptionTypes ( ) : void
Результат void

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

Registers a type in the container only if that type was not already registered.
protected RegisterTypeIfMissing ( Type fromType, Type toType, bool registerAsSingleton ) : void
fromType System.Type The interface type to register.
toType System.Type The type implementing the interface.
registerAsSingleton bool Registers the type as a singleton.
Результат void

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

Run the bootstrapper process.
public Run ( bool runWithDefaultConfiguration ) : void
runWithDefaultConfiguration bool If , registers default Composite Application Library services in the container. This is the default behavior.
Результат void