WIP - moving tree and section service implementations to Web because they are web based and they need web based objects, there's no sense in coying all of the non-web objects to Core. Now we need to use IoC for the ServiceContext

This commit is contained in:
Shannon
2016-02-17 16:45:26 +01:00
parent 6e7f3b5500
commit 4fa1ce42dc
17 changed files with 920 additions and 851 deletions

View File

@@ -0,0 +1,34 @@
using System;
namespace Umbraco.Web.Models.Trees
{
/// <summary>
/// Identifies an application tree
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class ApplicationAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="ApplicationAttribute"/> class.
/// </summary>
/// <param name="alias">The alias.</param>
/// <param name="name">The name.</param>
/// <param name="icon">The icon.</param>
/// <param name="sortOrder">The sort order.</param>
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; }
}
}