Table of Contents

Method Routes

Namespace
Velvet
Assembly
Velvet.Docs.dll

Routes(params RouteDefinition[])

Container for an array of RouteDefinition values. Aggregates routes declared via V.Route() into the route table consumed when configuring the Router.

public static RouteDefinition[] Routes(params RouteDefinition[] routes)

Parameters

routes RouteDefinition[]

Route definitions to aggregate.

Returns

RouteDefinition[]

The same routes array (passes through).