Class RouteAttribute

Assembly: redb.Route.Controllers.dll

Specifies the base route path for a controller.
Applied to classes inheriting .

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class RouteAttribute : Attribute

Inheritance

Object→Attribute→RouteAttribute

Properties

Template

Route path template (e.g. "modules", "contexts").

public string Template { get; }

Constructors