Exemplo 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);
     }
 }
Exemplo n.º 2
0
 public StructuredRouteResult(StructuredRoute match)
 {
     Route = match;
 }