Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule.Application_EndRequest C# (CSharp) 메소드

Application_EndRequest() 보호된 메소드

protected Application_EndRequest ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
리턴 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();
			}
		}