C# 클래스 Nancy.Bootstrappers.Windsor.NancyPerWebRequestScopeAccessor

상속: IScopeAccessor
파일 보기 프로젝트 열기: NancyFx/Nancy.Bootstrappers.Windsor

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetScope ( CreationContext context ) : ILifetimeScope

Provides access to T:Castle.MicroKernel.Lifestyle.Scoped.IScopeCache for currently resolved component.

NancyPerWebRequestScopeAccessor ( ) : System.Web

Initializes a new instance of the NancyPerWebRequestScopeAccessor class.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

GetScope() 공개 메소드

Provides access to T:Castle.MicroKernel.Lifestyle.Scoped.IScopeCache for currently resolved component.
Thrown when scope cache could not be accessed.
public GetScope ( CreationContext context ) : ILifetimeScope
context Castle.MicroKernel.Context.CreationContext Current creation context
리턴 ILifetimeScope

NancyPerWebRequestScopeAccessor() 공개 메소드

Initializes a new instance of the NancyPerWebRequestScopeAccessor class.
public NancyPerWebRequestScopeAccessor ( ) : System.Web
리턴 System.Web