2
0

IODescriptionAttribute.cs 682 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // System.IO.IODescriptionAttribute.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System;
  10. using System.ComponentModel;
  11. namespace System.IO {
  12. [AttributeUsage (AttributeTargets.All)]
  13. public class IODescriptionAttribute : DescriptionAttribute {
  14. #region Fields
  15. string description;
  16. #endregion // Fields
  17. #region Constructors
  18. public IODescriptionAttribute (string description)
  19. : base (description)
  20. {
  21. }
  22. #endregion // Constructors
  23. #region Methods
  24. public override string Description {
  25. get { return DescriptionValue; }
  26. }
  27. #endregion // Methods
  28. }
  29. }