Esempio n. 1
0
 public StructuredRouteResult(StructuredRoute match, List <string> parameters)
 {
     Route = match ?? throw new ArgumentNullException(nameof(match));
     for (var i = 0; i < match.ParameterKeys.Count; i++)
     {
         Parameters[match.ParameterKeys[i]] = parameters.ElementAtOrDefault(i);
     }
 }
Esempio n. 2
0
 public StructuredRouteResult(StructuredRoute match)
 {
     Route = match;
 }