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.

24 lines
532 B

11 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Apewer.Web
  5. {
  6. /// <summary></summary>
  7. [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
  8. public sealed class RoutePrefixAttribute : Attribute
  9. {
  10. string _path;
  11. /// <summary></summary>
  12. public string Path { get { return _path; } }
  13. /// <summary></summary>
  14. /// <param name="path"></param>
  15. public RoutePrefixAttribute(string path) { _path = path; }
  16. }
  17. }