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.

67 lines
1.6 KiB

  1. using Apewer;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Reflection;
  5. using System.Web;
  6. using System.Windows;
  7. namespace Apewer.Web
  8. {
  9. /// <summary></summary>
  10. [Serializable]
  11. public abstract class ApiEntry
  12. {
  13. private string _name = TextUtility.EmptyString;
  14. private string _caption = TextUtility.EmptyString;
  15. private string _description = TextUtility.EmptyString;
  16. private bool _visible = false;
  17. private Assembly _assembly = null;
  18. private Type _type = null;
  19. /// <summary></summary>
  20. public virtual string Name
  21. {
  22. get { return _name; }
  23. set { _name = value ?? TextUtility.EmptyString; }
  24. }
  25. /// <summary></summary>
  26. public virtual string Caption
  27. {
  28. get { return _caption; }
  29. set { _caption = value ?? TextUtility.EmptyString; }
  30. }
  31. /// <summary></summary>
  32. public virtual string Description
  33. {
  34. get { return _description; }
  35. set { _description = value ?? TextUtility.EmptyString; }
  36. }
  37. /// <summary></summary>
  38. public virtual bool Visible
  39. {
  40. get { return _visible; }
  41. set { _visible = value; }
  42. }
  43. /// <summary></summary>
  44. public virtual Assembly Assembly
  45. {
  46. get { return _assembly; }
  47. set { _assembly = value; }
  48. }
  49. /// <summary></summary>
  50. public virtual Type Type
  51. {
  52. get { return _type; }
  53. set { _type = value; }
  54. }
  55. }
  56. }