Beispiel #1
0
 private static string[] GetParameterNames(MultiTenantRouteTemplate routeTemplate)
 {
     return(routeTemplate.Segments
            .Where(s => s.IsParameter)
            .Select(s => s.Value)
            .ToArray());
 }
Beispiel #2
0
 public MultiTenantRouteEntry(MultiTenantRouteTemplate template, Type handler, string[] unusedRouteParameterNames)
 {
     Template = template;
     UnusedRouteParameterNames = unusedRouteParameterNames;
     Handler = handler;
 }