C# 클래스 SharpArch.Web.Http.Castle.WindsorHttpConfigurationExtensions

파일 보기 프로젝트 열기: sharparchitecture/Sharp-Architecture

공개 메소드들

메소드 설명
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