more property discussion...

sclytrack idiot at hotmail.com
Sun Jan 31 07:04:06 PST 2010


How is that message passing thing going?

C# has an attribute called [NonSerialized] and [XmlIgnore] and Java has transient
to mark things that are not to be serialized.

Will there be an equivalent thing for D?

I was also wondering about a syntax if you wish to automatically serialize
properties.


@DoNotSerialize @property
int number()
{
}

@DoNotSerialize @property
void number(int value)
{
}


I guess it would have to be applied to both. (sorta ugly)
Or we could "pickle" things instead.

-----

On the Graystone's bookshelf there are several computer books. Any chance to get
TDPL on it too?







More information about the Digitalmars-d mailing list