Files
Umbraco-CMS/src/Umbraco.Core/Models/PublishedContent/UrlMode.cs

29 lines
859 B
C#
Raw Normal View History

namespace Umbraco.Cms.Core.Models.PublishedContent
2018-06-29 19:52:40 +02:00
{
/// <summary>
2020-10-05 20:48:38 +02:00
/// Specifies the type of URLs that the URL provider should produce, Auto is the default.
2018-06-29 19:52:40 +02:00
/// </summary>
2019-04-16 20:03:07 +02:00
public enum UrlMode
2018-06-29 19:52:40 +02:00
{
2019-04-24 11:53:35 +02:00
/// <summary>
2020-10-05 20:48:38 +02:00
/// Indicates that the URL provider should do what it has been configured to do.
2019-04-24 11:53:35 +02:00
/// </summary>
Default = 0,
2018-06-29 19:52:40 +02:00
/// <summary>
2020-10-05 20:48:38 +02:00
/// Indicates that the URL provider should produce relative URLs exclusively.
2018-06-29 19:52:40 +02:00
/// </summary>
Relative,
/// <summary>
2020-10-05 20:48:38 +02:00
/// Indicates that the URL provider should produce absolute URLs exclusively.
2018-06-29 19:52:40 +02:00
/// </summary>
Absolute,
/// <summary>
2020-10-05 20:48:38 +02:00
/// Indicates that the URL provider should determine automatically whether to return relative or absolute URLs.
2018-06-29 19:52:40 +02:00
/// </summary>
Auto
}
}