Beispiel #1
0
 public IMenuItem AddRouteValue(string key, object value)
 {
     RouteValues.Add(key, value);
     return(this);
 }
Beispiel #2
0
 public virtual IMenuItem AddRouteValues(params KeyValuePair <string, object>[] keyValuePairs)
 {
     keyValuePairs.ToList().ForEach(item => RouteValues.Add(item.Key, item.Value));
     return(this);
 }