* EventDescriptor.cs: added missing constructors.
* EventDescriptorCollection.cs: fixed interface methods implementation
* IDataErrorInfo.cs:
* IEditableObject.cs: new interfaces.
svn path=/trunk/mcs/; revision=4388
+2002-05-07 Rodrigo Moya <rodrigo@ximian.com>
+
+ * EventDescriptor.cs: added missing constructors.
+
+ * EventDescriptorCollection.cs: fixed interface methods implementation
+
+ * IDataErrorInfo.cs:
+ * IEditableObject.cs: new interfaces.
+
2002-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.ComponentModel/AttributeCollection.cs: added a cast to make
//
// System.ComponentModel.EventDescriptor.cs
//
-// Author: Rodrigo Moya (rodrigo@ximian.com)
+// Authors:
+// Rodrigo Moya (rodrigo@ximian.com)
//
-// (C) Ximian, Inc.
+// (C) Ximian, Inc. 2002
//
namespace System.ComponentModel
public abstract class EventDescriptor : MemberDescriptor
{
[MonoTODO]
- protected EventDescriptor (MemberDescriptor desc) {
+ protected EventDescriptor (MemberDescriptor desc)
+ {
throw new NotImplementedException ();
}
+
+ [MonoTODO]
+ protected EventDescriptor (MemberDescriptor desc, Attribute[] attrs)
+ {
+ throw new NotImplementedException ();
+ }
+
+ protected EventDescriptor(string str, Attribute[] attrs)
+ {
+ }
}
}
this.Add (events[i]);
}
- public int Add (EventDescriptor value) {
+ public int IList.Add (object value) {
return eventList.Add (value);
}
//
// System.ComponentModel.ICustomTypeDescriptor.cs
//
-// Author: Rodrigo Moya (rodrigo@ximian.com)
+// (C) 2002 Ximian, Inc. http://www.ximian.com
//
-// (C) Ximian, Inc.
+// Authors:
+// Rodrigo Moya (rodrigo@ximian.com)
//
namespace System.ComponentModel
--- /dev/null
+//
+// System.ComponentModel.IDataErrorInfo.cs
+//
+// (C) 2002 Ximian, Inc. http://www.ximian.com
+//
+// Authors:
+// Rodrigo Moya (rodrigo@ximian.com)
+//
+
+namespace System.ComponentModel
+{
+ public interface IDataErrorInfo
+ {
+ string Error { get; }
+
+ string this[string columnName] { get; }
+ }
+}
--- /dev/null
+//
+// System.ComponentModel.IEditableObject.cs
+//
+// (C) 2002 Ximian, Inc. http://www.ximian.com
+//
+// Authors:
+// Rodrigo Moya (rodrigo@ximian.com)
+//
+
+namespace System.ComponentModel
+{
+ public interface IEditableObject
+ {
+ void BeginEdit();
+
+ void CancelEdit();
+
+ void EndEdit();
+ }
+}