[Mono-list] stubs for Microsoft.Win32

Guenther Roith groith@tcrz.net
Mon, 16 Sep 2002 09:54:51 +0200


Hello!

The mail I submitted to mono-list was pretty incomplete, but I corrected the
mistakes a short time after that.
If you'd  take a look art cvs you'd see it's correct in there.


Johannes

----- Original Message -----
From: "Gaurav Vaish" <gaurav.vaish@amsoft.net>
To: "Guenther Roith" <groith@tcrz.net>; "mono-list" <mono-list@ximian.com>
Sent: Monday, September 16, 2002 8:11 AM
Subject: Re: [Mono-list] stubs for Microsoft.Win32


> Hello Guenther,
>
>     I have not gone through the other classes, but a peek at
"SystemEvents"
> shows that it is pretty incomplete and quite wrong.
>
>     With all the event handlers, you should have "add/remove", something
> like:
>
>     public static event EventHandler DisplaySettingsChanged
>     {
>         add
>         {
>             // do something
>         }
>         remove
>         {
>             // do some other thing
>         }
>     }
>
>     A simple
>         public static event EventHandler DisplaySettingsChanged;
>
>     will not function.
>     Or else, if you plan to add it at a later stage (as most of us do -
> first stub the methods), please do add a "MonoTODO" attribute and also
make
> the methods throw "NotImplementedException".
>
>     I hope you get my point. If not, "grep NotImplementedException
> <some-class-dir>/*.cs". ;-)
>
>     Otherwise, I think the delegates and the argument classes look pretty
> decent.
>
> Happy hacking,
> Gaurav
> http://mastergaurav.virtualave.net/iitk
> ----------------------------
> ----- Original Message -----
> From: "Guenther Roith" <groith@tcrz.net>
> To: "mono-list" <mono-list@ximian.com>
> Sent: Sunday, September 15, 2002 20:14
> Subject: [Mono-list] stubs for Microsoft.Win32
>
>
> > Hello!
> >
> > I've dstarted Microsoft.Win32 with some stubs for the part of the
> namespace
> > Microsoft.Win32,that lives in System.dll.
> > Can I commit?
> >
> > Johannes
> >
>
>
>