further refactor base/rest service into Umbraco.Web

This commit is contained in:
Stephan
2012-09-20 14:37:23 -02:00
parent 777c7dd683
commit ea8ff709c2
16 changed files with 712 additions and 236 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Umbraco.Web.BaseRest
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class RestExtensionMethodAttribute : Attribute
{
public bool AllowAll { get; set; }
public string AllowGroup { get; set; }
public string AllowType { get; set; }
public string AllowMember { get; set; }
public bool ReturnXml { get; set; }
public RestExtensionMethodAttribute()
{
this.AllowAll = true;
this.ReturnXml = true;
}
}
}