[Mono-devel-list] New 'published' keyword

Miguel de Icaza miguel at ximian.com
Sun Apr 18 23:16:41 EDT 2004


Hello,

> 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:

You can use an attribute;  This is what Web Services do:

class X : WebService {
	[WebMethod]
	public void SayHi () {...}
}

> 
> 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
-- 
Miguel de Icaza <miguel at ximian.com>



More information about the Mono-devel-list mailing list