public When_registering_resource_routes() { routes = new RouteCollection(); routes.RegisterResouces(new[] {Assembly.GetExecutingAssembly()}); }
private static void RegisterRoutes(RouteCollection routes) { routes.RegisterResouces(BuildManager.GetReferencedAssemblies().Cast<Assembly>()); }