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
routeRouteDefinitionRoute definition the scope is created for.
parentIRouteScopeParent route's scope. null for the root route.