Ejemplo n.º 1
0
 /// <summary>
 /// Adds a range of route value
 /// </summary>
 /// <param name="routeValuesToAdd">a dictionary of route values to be added</param>
 /// <returns></returns>
 public static RouteValueDictionary AddRange(this RouteValueDictionary routeValues, IDictionary <string, object> routeValuesToAdd)
 {
     if (null == routeValuesToAdd)
     {
         return(routeValues);
     }
     return(routeValues.AddRange(new RouteValueDictionary(routeValuesToAdd)));
 }