2012-09-20 14:37:23 -02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.BaseRest
|
|
|
|
|
|
{
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
2012-09-27 15:37:21 -02:00
|
|
|
|
public sealed class RestExtensionAttribute : Attribute
|
2012-09-20 14:37:23 -02:00
|
|
|
|
{
|
|
|
|
|
|
public string Alias { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
public RestExtensionAttribute(string alias)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Alias = alias;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|