New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Extension methods for RouteValueDictionary.

Definition

Namespace:Kendo.Mvc.Extensions

Assembly:Kendo.Mvc.dll

Syntax:

C#
public static class RouteValueDictionaryExtensions

Inheritance: objectRouteValueDictionaryExtensions

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

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)
Parameters:routeValuesRouteValueDictionary

The route values dictionary.

instanceINavigatable

The 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)
Parameters:routeValuesRouteValueDictionary

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.