[Mono-devel-list] New 'published' keyword
Ben Maurer
bmaurer at users.sourceforge.net
Sun Apr 18 12:21:28 EDT 2004
There is no need for a keyword. You can use an attribute:
[Published]
public void Foo () {
}
-- Ben
On Sun, 2004-04-18 at 12:08, adam wrote:
> Hi,
>
> I've had this idea in my head for a while and was wondering what the
> mono community would make of it.
>
> IMHO [despite my lack of major experience with it] inter-process
> communication with CORBA / Bonobo is horrible - and with CLI there is
> surely no longer a need for .idl files?
>
> Couldn't a new keyword [ eg. 'published' ] be added to imply that a
> class / method / property / delegate is accessable to other processes.
> Published would imply public. For instance:
>
> published class A {
> published void run() { }
> published int A {
> get {}
> set {}
> }
> published delegate void MyDelegate(string input);
> published MyDelegate myDelegate;
> }
>
> This idea could be extended if generic libraries declare published
> methods, for instance a GTK# window's destroy() signal could be marked
> published.
>
> One may be able to implement this idea using CORBA?
>
> Anyway just an idea,
>
> Adam
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list