* PropertyDescriptor.cs : implement GetValueChangedHandler().
* ToolboxItemFilterAttribute.cs : implement ToString().
svn path=/trunk/mcs/; revision=89453
+2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
+
+ * PropertyDescriptor.cs : implement GetValueChangedHandler().
+ * ToolboxItemFilterAttribute.cs : implement ToString().
+
2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
* InvalidEnumArgumentException.cs: Fixed default ctor. Modified
return base.GetInvocationTarget (type, instance);
}
- [MonoNotSupported("")]
protected internal EventHandler GetValueChangedHandler (object component)
{
- throw new NotImplementedException ();
+ if (component == null)
+ throw new ArgumentNullException ("component");
+
+ if (notifiers == null)
+ return null;
+
+ return (EventHandler) notifiers [component];
}
#endif
public override int GetHashCode()
{
- return (Filter + ItemFilterType.ToString()).GetHashCode ();
+ return ToString ().GetHashCode ();
}
public override bool Match (object obj)
}
#if NET_2_0
- [MonoTODO]
public override string ToString ()
{
- return base.ToString ();
+ return String.Format ("{0},{1}", Filter, ItemFilterType);
}
#endif
}