public When_registering_resource_routes()
		{
			routes = new RouteCollection();

			routes.RegisterResouces(new[] {Assembly.GetExecutingAssembly()});
		}
Ejemplo n.º 2
0
		private static void RegisterRoutes(RouteCollection routes)
		{
			routes.RegisterResouces(BuildManager.GetReferencedAssemblies().Cast<Assembly>());
		}