Class RequestHandlerSettings
Typed configuration options for request handler settings.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class RequestHandlerSettings
Properties
View SourceAddTrailingSlash
Gets or sets a value indicating whether to add a trailing slash to URLs.
Declaration
public bool AddTrailingSlash { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CharCollection
Add additional character replacements, or override defaults
Declaration
public IEnumerable<IChar> CharCollection { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<IChar> |
ConvertUrlsToAscii
Gets or sets a value indicating whether to convert URLs to ASCII (valid values: "true", "try" or "false").
Declaration
public string ConvertUrlsToAscii { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableDefaultCharReplacements
Disable all default character replacements
Declaration
public bool EnableDefaultCharReplacements { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShouldConvertUrlsToAscii
Gets a value indicating whether URLs should be converted to ASCII.
Declaration
public bool ShouldConvertUrlsToAscii { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShouldTryConvertUrlsToAscii
Gets a value indicating whether URLs should be tried to be converted to ASCII.
Declaration
public bool ShouldTryConvertUrlsToAscii { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserDefinedCharCollection
Add additional character replacements, or override defaults
Declaration
public IEnumerable<CharItem>? UserDefinedCharCollection { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IEnumerable<CharItem>> |