Class UmbracoInjectedModule
Represents the main Umbraco module.
Inheritance
System.Object
Namespace: Umbraco.Web
Assembly: Umbraco.Web.dll
Syntax
public class UmbracoInjectedModule : IHttpModule
Remarks
Is registered by the WebRuntime.
Do not try to use that one as a module in web.config.
Constructors
View SourceUmbracoInjectedModule(IGlobalSettings, IRuntimeState, ILogger, IPublishedRouter, IUmbracoContextFactory, RoutableDocumentFilter)
Declaration
public UmbracoInjectedModule(IGlobalSettings globalSettings, IRuntimeState runtime, ILogger logger, IPublishedRouter publishedRouter, IUmbracoContextFactory umbracoContextFactory, RoutableDocumentFilter routableDocumentLookup)
Parameters
Type | Name | Description |
---|---|---|
IGlobalSettings | globalSettings | |
IRuntimeState | runtime | |
ILogger | logger | |
IPublishedRouter | publishedRouter | |
IUmbracoContextFactory | umbracoContextFactory | |
RoutableDocumentFilter | routableDocumentLookup |
Methods
View SourceDispose()
Declaration
public void Dispose()
Init(HttpApplication)
Initialize the module, this will trigger for each new application and there may be more than 1 application per application domain
Declaration
public void Init(HttpApplication app)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpApplication | app |