C# Класс Nancy.Bootstrappers.Windsor.NancyPerWebRequestScopeAccessor

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

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

Метод Описание
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