TODOAttribute.cs 683 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // TODOAttribute.cs
  3. //
  4. // Author:
  5. // Ravi Pratap ([email protected])
  6. //
  7. // (C) Ximian, Inc. http://www.ximian.com
  8. //
  9. namespace System {
  10. /// <summary>
  11. /// The TODO attribute is used to flag all incomplete bits in our class libraries
  12. /// </summary>
  13. ///
  14. /// <remarks>
  15. /// Use this to decorate any element which you think is not complete
  16. /// </remarks>
  17. [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
  18. public class MonoTODOAttribute : Attribute {
  19. private string comment;
  20. public MonoTODOAttribute ()
  21. {}
  22. public MonoTODOAttribute (string comment)
  23. {
  24. this.comment = comment;
  25. }
  26. public string Comment
  27. {
  28. get { return comment; }
  29. }
  30. }
  31. }