纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
672 B

  1. using System.Web.Http;
  2. using System.Web.Mvc;
  3. namespace ICSSoft.WebAPI.Areas.HelpPage
  4. {
  5. public class HelpPageAreaRegistration : AreaRegistration
  6. {
  7. public override string AreaName
  8. {
  9. get
  10. {
  11. return "HelpPage";
  12. }
  13. }
  14. public override void RegisterArea(AreaRegistrationContext context)
  15. {
  16. context.MapRoute(
  17. "HelpPage_Default",
  18. "Help/{action}/{apiId}",
  19. new { controller = "Help", action = "Index", apiId = UrlParameter.Optional });
  20. HelpPageConfig.Register(GlobalConfiguration.Configuration);
  21. }
  22. }
  23. }