[Mono-devel-list] Value of EditorAttribute forSystem.Data.SqlClient.SqlParameterCollection
ClassDevelopment at A-SoftTech.com
Fri Jan 23 12:17:12 EST 2004
> > EditorAttribute.EditorBaseTypeName= System.Drawing.Design.UITypeEditor,
> > System.Drawing, Version=1.0.5000.0, Culture=neutral
> > , PublicKeyToken=b03f5f7f11d50a3a,
> For this one, you can do something like
> [EditorAttribute (EditorBaseTypeName = typeof
No - you can't do that because System.Drawing.dll does not have references
to System.Drawing.Design.dll or any other design classes.
I would suggest that you look at the classes in System.Web.UI (e.g.
Control.cs) to see how I handled this.
Also with this approach you can refer to assemblys that don't even (yet)
Also it is probably a good idea to copy the Consts.cs file from any of the
assemblys that already have one (It's in the Assembly directory of e.g.
System.Web.dll) to the System.Drawing assembly and follow the same pattern
that I used.
If you have a suggestion about how to solve this problem more intelligenty
please let me know.
More information about the Mono-devel-list