Class BackOfficeServerVariables
Used to collect the server variables for use in the back office angular app
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Controllers
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class BackOfficeServerVariables
Constructors
View SourceBackOfficeServerVariables(LinkGenerator, IRuntimeState, UmbracoFeatures, IOptions<GlobalSettings>, IUmbracoVersion, IOptions<ContentSettings>, IHttpContextAccessor, TreeCollection, IHostingEnvironment, IOptions<RuntimeSettings>, IOptions<SecuritySettings>, IRuntimeMinifier, IBackOfficeExternalLoginProviders, IImageUrlGenerator, PreviewRoutes, IEmailSender, IOptions<MemberPasswordConfigurationSettings>)
Declaration
public BackOfficeServerVariables(LinkGenerator linkGenerator, IRuntimeState runtimeState, UmbracoFeatures features, IOptions<GlobalSettings> globalSettings, IUmbracoVersion umbracoVersion, IOptions<ContentSettings> contentSettings, IHttpContextAccessor httpContextAccessor, TreeCollection treeCollection, IHostingEnvironment hostingEnvironment, IOptions<RuntimeSettings> runtimeSettings, IOptions<SecuritySettings> securitySettings, IRuntimeMinifier runtimeMinifier, IBackOfficeExternalLoginProviders externalLogins, IImageUrlGenerator imageUrlGenerator, PreviewRoutes previewRoutes, IEmailSender emailSender, IOptions<MemberPasswordConfigurationSettings> memberPasswordConfigurationSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Routing.LinkGenerator | linkGenerator | |
| IRuntimeState | runtimeState | |
| UmbracoFeatures | features | |
| Microsoft.Extensions.Options.IOptions<GlobalSettings> | globalSettings | |
| IUmbracoVersion | umbracoVersion | |
| Microsoft.Extensions.Options.IOptions<ContentSettings> | contentSettings | |
| Microsoft.AspNetCore.Http.IHttpContextAccessor | httpContextAccessor | |
| TreeCollection | treeCollection | |
| IHostingEnvironment | hostingEnvironment | |
| Microsoft.Extensions.Options.IOptions<RuntimeSettings> | runtimeSettings | |
| Microsoft.Extensions.Options.IOptions<SecuritySettings> | securitySettings | |
| IRuntimeMinifier | runtimeMinifier | |
| IBackOfficeExternalLoginProviders | externalLogins | |
| IImageUrlGenerator | imageUrlGenerator | |
| PreviewRoutes | previewRoutes | |
| IEmailSender | emailSender | |
| Microsoft.Extensions.Options.IOptions<MemberPasswordConfigurationSettings> | memberPasswordConfigurationSettings |