Exemple #1
0
        HttpApplication FireOnAppStart(HttpContext context)
        {
            HttpApplication app = (HttpApplication)Activator.CreateInstance(app_type, true);

            context.ApplicationInstance = app;
            app.SetContext(context);
            object [] args = new object [] { app, EventArgs.Empty };
            app.InApplicationStart = true;
            FireEvent("Application_Start", app, args);
            app.InApplicationStart = false;
            return(app);
        }