Table of Contents

Method CreateScope

Namespace
Velvet
Assembly
Velvet.Docs.dll

CreateScope(RouteDefinition?, IRouteScope?)

Creates a scope for the given route.

IRouteScope CreateScope(RouteDefinition? route, IRouteScope? parent)

Parameters

route RouteDefinition

Route definition the scope is created for.

parent IRouteScope

Parent route's scope. null for the root route.

Returns

IRouteScope