Class WebRuntime
Represents the Web Umbraco runtime.
Namespace: Umbraco.Web.Runtime
Assembly: Umbraco.Web.dll
Syntax
public class WebRuntime : CoreRuntime, IRuntime
Remarks
On top of CoreRuntime, handles all of the web-related runtime aspects of Umbraco.
Constructors
View SourceWebRuntime(UmbracoApplicationBase)
Declaration
[Obsolete("Use the ctor with all parameters instead")]
public WebRuntime(UmbracoApplicationBase umbracoApplication)
Parameters
Type | Name | Description |
---|---|---|
UmbracoApplicationBase | umbracoApplication |
WebRuntime(UmbracoApplicationBase, ILogger, IMainDom)
Initializes a new instance of the WebRuntime class.
Declaration
public WebRuntime(UmbracoApplicationBase umbracoApplication, ILogger logger, IMainDom mainDom)
Parameters
Type | Name | Description |
---|---|---|
UmbracoApplicationBase | umbracoApplication | |
ILogger | logger | |
IMainDom | mainDom |
Methods
View SourceBoot(IRegister)
Boots the runtime.
Declaration
public override IFactory Boot(IRegister register)
Parameters
Type | Name | Description |
---|---|---|
IRegister | register | The application register. |
Returns
Type | Description |
---|---|
IFactory | The application factory. |
GetAppCaches()
Declaration
protected override AppCaches GetAppCaches()
Returns
Type | Description |
---|---|
AppCaches |
GetProfiler()
Declaration
protected override IProfiler GetProfiler()
Returns
Type | Description |
---|---|
IProfiler |