RouteCollectionExtensionsMapActivitiesRoutes Method |
Note: This API is now obsolete.
Adds Activities routes.
Namespace: Kentico.Activities.Web.MvcAssembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use Kentico.Activities.Web.Mvc.ApplicationBuilderExtensions.UseActivityTracking() to enable the activity tracking feature. The routes are registered automatically as part of the feature.")]
public static void MapActivitiesRoutes(
this ExtensionPoint<RouteCollection> extensionPoint
)
Parameters
- extensionPoint
- Type: Kentico.Web.MvcExtensionPointRouteCollection
The object that provides methods to add Kentico Activities routes.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ExtensionPointRouteCollection. 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).
Exceptions Remarks Routes are fixed with namespace prefix.
See Also