Files
Umbraco-CMS/src/Umbraco.Core/Models/PublishedContent/UrlMode.cs
2020-10-05 20:48:38 +02:00

29 lines
855 B
C#

namespace Umbraco.Core.Models.PublishedContent
{
/// <summary>
/// Specifies the type of URLs that the URL provider should produce, Auto is the default.
/// </summary>
public enum UrlMode
{
/// <summary>
/// Indicates that the URL provider should do what it has been configured to do.
/// </summary>
Default = 0,
/// <summary>
/// Indicates that the URL provider should produce relative URLs exclusively.
/// </summary>
Relative,
/// <summary>
/// Indicates that the URL provider should produce absolute URLs exclusively.
/// </summary>
Absolute,
/// <summary>
/// Indicates that the URL provider should determine automatically whether to return relative or absolute URLs.
/// </summary>
Auto
}
}