Resource.cs 954 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. using System;
  2. namespace Microsoft.Samples.AppUpdater
  3. {
  4. [Serializable]
  5. public class Resource
  6. {
  7. private string _Name;
  8. private string _Url;
  9. private string _FilePath;
  10. private bool _IsFolder;
  11. private DateTime _LastModified;
  12. private bool _AddedAtRuntime;
  13. public string Name
  14. {
  15. get
  16. {
  17. return _Name;
  18. }
  19. set
  20. {
  21. _Name = value;
  22. }
  23. }
  24. public string Url
  25. {
  26. get
  27. {
  28. return _Url;
  29. }
  30. set
  31. {
  32. _Url = value;
  33. }
  34. }
  35. public string FilePath
  36. {
  37. get
  38. {
  39. return _FilePath;
  40. }
  41. set
  42. {
  43. _FilePath = value;
  44. }
  45. }
  46. public bool IsFolder
  47. {
  48. get
  49. {
  50. return _IsFolder;
  51. }
  52. set
  53. {
  54. _IsFolder = value;
  55. }
  56. }
  57. public DateTime LastModified
  58. {
  59. get
  60. {
  61. return _LastModified;
  62. }
  63. set
  64. {
  65. _LastModified = value;
  66. }
  67. }
  68. public bool AddedAtRuntime
  69. {
  70. get
  71. {
  72. return _AddedAtRuntime;
  73. }
  74. set
  75. {
  76. _AddedAtRuntime = value;
  77. }
  78. }
  79. }
  80. }