Class UmbracoRequestLocalizationOptions
Custom Umbraco options configuration for Microsoft.AspNetCore.Builder.RequestLocalizationOptions.
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Localization
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoRequestLocalizationOptions : IConfigureOptions<RequestLocalizationOptions>
Constructors
View SourceUmbracoRequestLocalizationOptions(IOptions<GlobalSettings>)
Initializes a new instance of the UmbracoRequestLocalizationOptions class.
Declaration
public UmbracoRequestLocalizationOptions(IOptions<GlobalSettings> globalSettings)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<GlobalSettings> | globalSettings | The global settings. |
Methods
View SourceConfigure(RequestLocalizationOptions)
Declaration
public void Configure(RequestLocalizationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Builder.RequestLocalizationOptions | options |