FeRouteAttribute.cs 270 B

123456789101112
  1. using System;
  2. namespace FrontendRouting
  3. {
  4. [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
  5. public class FeRouteAttribute : Attribute
  6. {
  7. public string Path { get; }
  8. public FeRouteAttribute(string path) => Path = path;
  9. }
  10. }