2013-03-22 13:11:27 +00:00
|
|
|
|
namespace Umbraco.Core
|
|
|
|
|
|
{
|
2016-08-09 15:36:02 +02:00
|
|
|
|
public static partial class Constants
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Defines the identifiers for Umbraco system nodes.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static class System
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The integer identifier for global system root node.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const int Root = -1;
|
2013-03-22 13:11:27 +00:00
|
|
|
|
|
2018-03-20 18:21:37 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string identifier for global system root node.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
|
|
|
|
public const string RootString = "-1";
|
|
|
|
|
|
|
2016-08-09 15:36:02 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The integer identifier for content's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const int RecycleBinContent = -20;
|
2013-03-22 13:11:27 +00:00
|
|
|
|
|
2018-03-20 18:21:37 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string identifier for content's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
|
|
|
|
public const string RecycleBinContentString = "-20";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string path prefix of the content's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// <para>Everything that is in the content recycle bin, has a path that starts with the prefix.</para>
|
|
|
|
|
|
/// <para>Use this instead of re-creating the string everywhere.</para>
|
|
|
|
|
|
/// </remarks>
|
|
|
|
|
|
public const string RecycleBinContentPathPrefix = "-1,-20,";
|
|
|
|
|
|
|
2016-08-09 15:36:02 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The integer identifier for media's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public const int RecycleBinMedia = -21;
|
|
|
|
|
|
|
2018-03-20 18:21:37 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string identifier for media's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Use this instead of re-creating the string everywhere.</remarks>
|
|
|
|
|
|
public const string RecycleBinMediaString = "-21";
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The string path prefix of the media's recycle bin.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// <para>Everything that is in the media recycle bin, has a path that starts with the prefix.</para>
|
|
|
|
|
|
/// <para>Use this instead of re-creating the string everywhere.</para>
|
|
|
|
|
|
/// </remarks>
|
|
|
|
|
|
public const string RecycleBinMediaPathPrefix = "-1,-21,";
|
|
|
|
|
|
|
2017-05-12 14:49:44 +02:00
|
|
|
|
public const string UmbracoConnectionName = "umbracoDbDSN";
|
2017-12-26 11:35:21 +01:00
|
|
|
|
public const string UmbracoUpgradePlanName = "Umbraco.Core";
|
2017-07-20 11:21:28 +02:00
|
|
|
|
}
|
2016-05-18 10:55:19 +02:00
|
|
|
|
}
|
2017-07-20 11:21:28 +02:00
|
|
|
|
}
|