BoxInformation.Global.Application_PreRequestHandlerExecute C# (CSharp) Метод

Application_PreRequestHandlerExecute() защищенный Метод

protected Application_PreRequestHandlerExecute ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        protected void Application_PreRequestHandlerExecute(object sender, EventArgs e)
        {
            Page handler = HttpContext.Current.Handler as Page;

            if (handler != null)
            {
                IUnityContainer container = SessionContainer;

                if (container != null)
                {
                    container.BuildUp(handler.GetType(), handler);
                }
            }
        }