using System; namespace GalleryShare.RequestRouter { /// /// Defines a class to be a http reqeust router that's part of the given routing group. /// /// /// This class is an attribute. Please don't try to inherit from it. /// To create a new request router, please implement GalleryShare.RequestRouter.IRequestRoute, not this class. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class HttpRequestRoute : Attribute { public string RoutingGroup; public HttpRequestRoute(string inRoutingGroup) { RoutingGroup = inRoutingGroup; } } }