using System; namespace Umbraco.Web.Models.Trees { /// /// Identifies an application tree /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class ApplicationAttribute : Attribute { /// /// Initializes a new instance of the class. /// /// The alias. /// The name. /// The icon. /// The sort order. public ApplicationAttribute(string alias, string name, string icon, int sortOrder = 0) { Alias = alias; Name = name; Icon = icon; SortOrder = sortOrder; } public string Alias { get; private set; } public string Name { get; private set; } public string Icon { get; private set; } public int SortOrder { get; private set; } } }