Extension methods for RouteValueDictionary.
Definition
Namespace:Kendo.Mvc.Extensions
Assembly:Kendo.Mvc.dll
Syntax:
C#
public static class RouteValueDictionaryExtensions
Inheritance: objectRouteValueDictionaryExtensions
Inherited Members
Methods
Applies the route values to a navigatable instance using the specified callback.
C#
public static void ApplyTo(this RouteValueDictionary routeValues, INavigatable instance, Action<INavigatable, string, string, RouteValueDictionary> callBack)
The route values dictionary.
instanceINavigatableThe navigatable instance.
callBackAction<INavigatable, string, string, RouteValueDictionary>The callback to invoke with the extracted action, controller, and remaining route values.
Applies the route values to create a builder instance using the specified callback.
C#
public static TBuilder ApplyTo<TBuilder>(this RouteValueDictionary routeValues, Func<string, string, RouteValueDictionary, TBuilder> callBack)
The route values dictionary.
callBackFunc<string, string, RouteValueDictionary, TBuilder>The callback to invoke with the extracted action, controller, and remaining route values.
Returns:TBuilder
The builder instance created by the callback.