/// <summary>Creates a new instance of the RequestLifeCycleHandler class.</summary> /// <param name="webContext">The web context wrapper.</param> public RequestLifecycleHandler(IWebContext webContext, EventBroker broker, InstallationManager installer, IRequestDispatcher dispatcher, IErrorHandler errors, AdminSection editConfig, HostSection hostConfig) : this(webContext, broker, installer, dispatcher, errors) { checkInstallation = editConfig.Installer.CheckInstallationStatus; //installerUrl = editConfig.Installer.InstallUrl; rewriteMethod = hostConfig.Web.Rewrite; _adminConfig = editConfig; }
/// <summary>Creates a new instance of the RequestLifeCycleHandler class.</summary> /// <param name="webContext">The web context wrapper.</param> public RequestLifecycleHandler(IWebContext webContext, EventBroker broker, InstallationManager installer, IRequestDispatcher dispatcher, IErrorHandler errors) { this.webContext = webContext; this.broker = broker; this.errors = errors; this.installer = installer; this.dispatcher = dispatcher; _adminConfig = null; }