Added constants for Application (section aliases), System (node IDs) and MediaType aliases.

This commit is contained in:
leekelleher
2013-03-22 13:11:27 +00:00
parent 7e0c1fac36
commit 6b07ee83eb
6 changed files with 113 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
namespace Umbraco.Core
{
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;
/// <summary>
/// The integer identifier for content's recycle bin.
/// </summary>
public const int RecycleBinContent = -20;
/// <summary>
/// The integer identifier for media's recycle bin.
/// </summary>
public const int RecycleBinMedia = -21;
}
}
}