Table of Contents

Method HasPrefix

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

HasPrefix(string)

Specifies a prefix for all routes defined by this module.

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.