Sisk

Method

RouterModule.HasPrefix

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

HasPrefix(string) #

Specifies a prefix for all routes defined by this module.

C#
protected void HasPrefix(string prefix)

Parameters #

prefix string

The prefix to be applied to all registered routes of this class.

Remarks #

This method allows for the specification of a common prefix for all routes defined by this module, which can be useful for organizing and structuring routes in a large application.

Type to search the documentation and the API reference.