Przeglądaj źródła

Added: TODOAttribute to System.Windows.Forms.Design

svn path=/trunk/mcs/; revision=16006
Martin Willemoes Hansen 22 lat temu
rodzic
commit
2de75de438

+ 33 - 0
mcs/class/System.Design/System.Windows.Forms.Design/TODOAttribute.cs

@@ -0,0 +1,33 @@
+//
+// TODOAttribute.cs
+//
+// Author:
+//   Ravi Pratap ([email protected])
+//
+// (C) Ximian, Inc.  http://www.ximian.com
+//
+using System;
+
+namespace System { // Some classes are not under System.Design.* namespace
+
+	/// <summary>
+	///   The TODO attribute is used to flag all incomplete bits in our class libraries
+	/// </summary>
+	///
+	/// <remarks>
+	///   Use this to decorate any element which you think is not complete
+	/// </remarks>
+	[AttributeUsage (AttributeTargets.All)]
+	internal class MonoTODOAttribute : Attribute {
+
+		string comment;
+
+		public MonoTODOAttribute ()
+		{}
+
+		public MonoTODOAttribute (string comment)
+		{
+			this.comment = comment;
+		}
+	}
+}

+ 1 - 0
mcs/class/System.Design/list.unix

@@ -21,3 +21,4 @@ System.Windows.Forms.Design/MenusCommands.cs
 System.Windows.Forms.Design/ParentControlDesigner.cs
 System.Windows.Forms.Design/ScrollableControlDesigner.cs
 System.Windows.Forms.Design/SelectionRules.cs
+System.Windows.Forms.Design/TODOAttribute.cs