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.

40 lines
935 B

  1. using Apewer;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Web;
  5. namespace Apewer.Web
  6. {
  7. /// <summary></summary>
  8. [Serializable]
  9. public class ApiApplication : ApiEntry
  10. {
  11. private Dictionary<string, ApiFunction> _functions = new Dictionary<string, ApiFunction>();
  12. private bool _independent = false;
  13. private string _module = null;
  14. /// <summary></summary>
  15. public Dictionary<string, ApiFunction> Functions
  16. {
  17. get { return _functions; }
  18. }
  19. /// <summary>指示此 Application 不依赖 ApiInvoker,将忽略 Function。</summary>
  20. public bool Independent
  21. {
  22. get { return _independent; }
  23. set { _independent = value; }
  24. }
  25. /// <summary></summary>
  26. public string Module
  27. {
  28. get { return _module; }
  29. set { _module = value; }
  30. }
  31. }
  32. }