new DIP5: Properties 2

Kagamin spam at here.lot
Tue Jul 28 01:43:49 PDT 2009


sclytrack Wrote:

> -------------
> 	Maybe @Property is too general.
> 
> 	b) @ToBeDisplayedInTheObjectInspectorOrPropertyEditorOfTheIDE
> 
> 	(b) Would only be used in GUI api's, and not
> 	everywhere there is a setter or getter, mutator or
> 	accessor, reader or writer.
> -------------

Metadata is used not only in GUI. It's used in debugging, in C# it's also used to mark obsolete API which is done by keyword in D, it's used to control serialization and for example in webservices to mark methods as callable and in proxies to specify namespace and address. Everywhere, where someone makes use of metadata.



More information about the Digitalmars-d mailing list