[Mono-bugs] [Bug 535970] DbConnectionStringBuilder doesn't implement ICustomTypeDescriptor

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 1 12:55:11 EDT 2009


User contact at i-nz.net added comment

Ivan Zlatev <contact at i-nz.net> changed:

           What    |Removed                     |Added
          Component|Windows.Forms               |Sys.Data
         AssignedTo|mono-bugs at lists.ximian.com  |bnc-blr-team-mono at forge.pro
                   |                            |vo.novell.com
            Summary|PropertyGrid.SelectedObject |DbConnectionStringBuilder
                   |=                           |doesn't implement
                   |MySqlConnectionStringBuilde |ICustomTypeDescriptor
                   |r give a blank propertygrid |
                   |under linux                 |

--- Comment #1 from Ivan Zlatev <contact at i-nz.net>  2009-09-01 10:55:10 MDT ---
--> System.Data bug

The DbConnectionStringBuilder class does not implement ICustomTypeDescriptor
and hence no properties are returned when one calls

I see that there is also another method GetProperties inside the class (outside
the interface) which is probably supposed to be called. I assume that this
interface is implemented so that it can provide a custom PropertyDescriptor
implementation which will do something funky when the SetValue is called
(refresh the connection or something?). I assume all other methods would be
proxied back to TypeDescriptor with useCustomDesriptor parameter set to false.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list