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

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
}
}