PropertyCategory.cs 496 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace WPG.Data
  5. {
  6. public class PropertyCategory : PropertyCollection
  7. {
  8. #region Initialization
  9. public PropertyCategory()
  10. {
  11. this._categoryName = "Misc";
  12. }
  13. public PropertyCategory(string categoryName)
  14. {
  15. this._categoryName = categoryName;
  16. }
  17. public string Category
  18. {
  19. get { return _categoryName; }
  20. }
  21. #endregion
  22. #region Fields
  23. private readonly string _categoryName;
  24. #endregion
  25. }
  26. }