further refactor base/rest service into Umbraco.Web
This commit is contained in:
18
src/Umbraco.Web/BaseRest/RestExtensionAttribute.cs
Normal file
18
src/Umbraco.Web/BaseRest/RestExtensionAttribute.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Umbraco.Web.BaseRest
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
||||
public class RestExtensionAttribute : Attribute
|
||||
{
|
||||
public string Alias { get; private set; }
|
||||
|
||||
public RestExtensionAttribute(string alias)
|
||||
{
|
||||
this.Alias = alias;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user