Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule.Application_EndRequest C# (CSharp) Méthode

Application_EndRequest() protected méthode

protected Application_EndRequest ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void
		protected void Application_EndRequest(Object sender, EventArgs e)
		{
			var application = (HttpApplication)sender;
			var scope = GetScope(application.Context, createIfNotPresent: false);
			if (scope != null)
			{
				scope.Dispose();
			}
		}