C# Класс SharpArch.Web.Http.Castle.WindsorHttpConfigurationExtensions

Показать файл Открыть проект

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

Метод Описание
InstallHttpFilterProvider ( [ services, [ container, ITypePropertyDescriptorCache propertyDescriptorCache ) : void

Installs Filter provider with injectable property dependencies support.

UseWindsor ( this configuration, IWindsorContainer container, ITypePropertyDescriptorCache injectablePropertyCache ) : System.Web.Http.HttpConfiguration

Configures Web API runtime to use Castle Windsor Container

Performs following actions Install DependencyResolver IDependencyResolver Add property injection support for ActionFilters, WindsorHttpFilterProvider

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

InstallHttpFilterProvider() публичный статический Метод

Installs Filter provider with injectable property dependencies support.
public static InstallHttpFilterProvider ( [ services, [ container, ITypePropertyDescriptorCache propertyDescriptorCache ) : void
services [ Services container,
container [ Windsor container,
propertyDescriptorCache ITypePropertyDescriptorCache Injectable property cache
Результат void

UseWindsor() публичный статический Метод

Configures Web API runtime to use Castle Windsor Container
Performs following actions Install DependencyResolver IDependencyResolver Add property injection support for ActionFilters, WindsorHttpFilterProvider
public static UseWindsor ( this configuration, IWindsorContainer container, ITypePropertyDescriptorCache injectablePropertyCache ) : System.Web.Http.HttpConfiguration
configuration this Configuration
container IWindsorContainer Windsor container to use
injectablePropertyCache ITypePropertyDescriptorCache Injectable property cache
Результат System.Web.Http.HttpConfiguration