namespace Umbraco.Cms.Core;
public static partial class Constants
{
///
/// Defines the Umbraco system constants.
///
public static class System
{
///
/// The integer identifier for global system root node.
///
public const int Root = -1;
///
/// The string identifier for global system root node.
///
///
/// Use this instead of re-creating the string everywhere.
///
public const string RootString = "-1";
///
/// The GUID identifier for global system root node.
///
public static readonly Guid? RootKey = null;
///
/// The integer identifier for content's recycle bin.
///
public const int RecycleBinContent = -20;
///
/// The string identifier for content's recycle bin.
///
///
/// Use this instead of re-creating the string everywhere.
///
public const string RecycleBinContentString = "-20";
///
/// The GUID identifier for content's recycle bin.
///
public static readonly Guid RecycleBinContentKey = new("0F582A79-1E41-4CF0-BFA0-76340651891A");
///
/// The string path prefix of the content's recycle bin.
///
///
/// Everything that is in the content recycle bin, has a path that starts with the prefix.
/// Use this instead of re-creating the string everywhere.
///
public const string RecycleBinContentPathPrefix = "-1,-20,";
///
/// The integer identifier for media's recycle bin.
///
public const int RecycleBinMedia = -21;
///
/// The string identifier for media's recycle bin.
///
///
/// Use this instead of re-creating the string everywhere.
///
public const string RecycleBinMediaString = "-21";
///
/// The GUID identifier for media's recycle bin.
///
public static readonly Guid RecycleBinMediaKey = new("BF7C7CBC-952F-4518-97A2-69E9C7B33842");
///
/// The string path prefix of the media's recycle bin.
///
///
/// Everything that is in the media recycle bin, has a path that starts with the prefix.
/// Use this instead of re-creating the string everywhere.
///
public const string RecycleBinMediaPathPrefix = "-1,-21,";
///
/// The default label data type identifier.
///
public const int DefaultLabelDataTypeId = -92;
///
/// The default Umbraco database name.
///
public const string UmbracoDefaultDatabaseName = "Umbraco";
///
/// The Umbraco connection name.
///
public const string UmbracoConnectionName = "umbracoDbDSN";
///
/// The Umbraco path segment.
///
public const string UmbracoPathSegment = "umbraco";
///
/// The default Umbraco virtual path.
///
public const string DefaultUmbracoPath = "~/" + UmbracoPathSegment;
///
/// The application domain data name for DataDirectory.
///
public const string DataDirectoryName = "DataDirectory";
///
/// The DataDirectory placeholder used to resolve paths in connection strings.
///
public const string DataDirectoryPlaceholder = "|DataDirectory|";
public const string InvariantCulture = "*";
}
}