C# Class CkanDotNet.Web.Models.RouteHelper

Show file Open project: opencolorado/.NET-Wrapper-for-CKAN-API

Public Methods

Method Description
RouteFromParameters ( RouteValueDictionary routeValues ) : RouteValueDictionary

Builds a route value dictionary from existing route values and appends querystring values as parameters.

RouteFromParameters ( System.Web.Mvc.ViewContext context ) : RouteValueDictionary

Builds a route value dictionary from existing route values and appends querystring values as parameters.

UpdateRoute ( RouteValueDictionary routeValues, string parameter, string value ) : RouteValueDictionary

Updates a single parameter in a route value dictionary while leaving other route values the same

Method Details

RouteFromParameters() public static method

Builds a route value dictionary from existing route values and appends querystring values as parameters.
public static RouteFromParameters ( RouteValueDictionary routeValues ) : RouteValueDictionary
routeValues RouteValueDictionary
return RouteValueDictionary

RouteFromParameters() public static method

Builds a route value dictionary from existing route values and appends querystring values as parameters.
public static RouteFromParameters ( System.Web.Mvc.ViewContext context ) : RouteValueDictionary
context System.Web.Mvc.ViewContext
return RouteValueDictionary

UpdateRoute() public static method

Updates a single parameter in a route value dictionary while leaving other route values the same
public static UpdateRoute ( RouteValueDictionary routeValues, string parameter, string value ) : RouteValueDictionary
routeValues RouteValueDictionary
parameter string
value string
return RouteValueDictionary