Table of Contents

Class RoutePrefixAttribute

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

Represents an attribute that, when applied to an class containing routes, all child routes will start with the specified prefix.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class RoutePrefixAttribute : Attribute
Inheritance
RoutePrefixAttribute
Inherited Members

Constructors

RoutePrefixAttribute(string)

Initializes an new RoutePrefixAttribute with given prefix.

Properties

Prefix

Gets or sets the route prefix.