C# Class Zen.Core.MVC4.Web.RequestLifetimeScopeProvider

Creates and disposes HTTP request based lifetime scopes.
The provider is notified when a HTTP request ends by the RequestLifetimeHttpModule.
Inheritance: ILifetimeScopeProvider
Afficher le fichier Open project: holinov/Zen.Core

Private Properties

Свойство Type Description
GetLifetimeScopeCore IAppScope

Méthodes publiques

Méthode Description
EndLifetimeScope ( ) : void

Ends the current HTTP request lifetime scope.

GetLifetimeScope ( Action configurationAction ) : IAppScope

Gets a nested lifetime scope that services can be resolved from.

RequestLifetimeScopeProvider ( IAppScope container ) : System

Initializes a new instance of the RequestLifetimeScopeProvider class.

Private Methods

Méthode Description
GetLifetimeScopeCore ( Action configurationAction ) : IAppScope

Method Details

EndLifetimeScope() public méthode

Ends the current HTTP request lifetime scope.
public EndLifetimeScope ( ) : void
Résultat void

GetLifetimeScope() public méthode

Gets a nested lifetime scope that services can be resolved from.
public GetLifetimeScope ( Action configurationAction ) : IAppScope
configurationAction Action /// A configuration action that will execute during lifetime scope creation. ///
Résultat IAppScope

RequestLifetimeScopeProvider() public méthode

Initializes a new instance of the RequestLifetimeScopeProvider class.
public RequestLifetimeScopeProvider ( IAppScope container ) : System
container IAppScope The parent container, usually the application container.
Résultat System