C# Class Castle.MicroKernel.Lifestyle.PerWebSessionLifestyleManager

Implements a Lifestyle manager for web apps that creates at most one object per http session.
Since the http session end event is not really reliable (it only fires with an InProc session provider) there is no way to properly release any components with this lifestyle
Inheritance: AbstractLifestyleManager
显示文件 Open project: nhsevidence/Windsor.LifeStyles

Private Properties

Property Type Description

Public Methods

Method Description
Dispose ( ) : void
PerWebSessionLifestyleManager ( ) : System
Resolve ( CreationContext context ) : object

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PerWebSessionLifestyleManager() public method

public PerWebSessionLifestyleManager ( ) : System
return System

Resolve() public method

public Resolve ( CreationContext context ) : object
context Castle.MicroKernel.Context.CreationContext
return object