Click or drag to resize
RouteCollectionExtensionsKentico Method
Returns an object that provides methods to add routes to Kentico HTTP handlers.

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public static ExtensionPoint<RouteCollection> Kentico(
	this RouteCollection target
)

Parameters

target
Type: System.Web.RoutingRouteCollection
An instance of the RouteCollection class.

Return Value

Type: ExtensionPointRouteCollection
An object that provides methods to add routes to Kentico HTTP handlers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RouteCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also