You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
569 B
29 lines
569 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Web
|
|
{
|
|
|
|
/// <summary></summary>
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
|
|
public sealed class RouteAttribute : Attribute
|
|
{
|
|
|
|
string _path;
|
|
|
|
/// <summary></summary>
|
|
public string Path { get => _path; }
|
|
|
|
/// <summary></summary>
|
|
public RouteAttribute() { }
|
|
|
|
/// <summary></summary>
|
|
public RouteAttribute(string path)
|
|
{
|
|
_path = path;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|