Exemplo n.º 1
0
 private static string[] GetParameterNames(LegacyMultiTenantRouteTemplate routeTemplate)
 {
     return(routeTemplate.Segments
            .Where(s => s.IsParameter)
            .Select(s => s.Value)
            .ToArray());
 }
Exemplo n.º 2
0
 public LegacyMultiTenantRouteEntry(LegacyMultiTenantRouteTemplate template, Type handler, string[] unusedRouteParameterNames)
 {
     Template = template;
     UnusedRouteParameterNames = unusedRouteParameterNames;
     Handler = handler;
 }