> ... and if you wanted to control your serialization
then
> implementing ISerialize is the correct approach if you
need some special
> format of serialization. As far as the special
formatting goes - maybe
> implementing IFormattable would be the solution.
I'm wondering if implementing IFormattable with a
"R" for
roundtrippable format specification (like Double uses),
could yeild a
reasonable Serialized form, be it base64ed-binary (e.g.
LosFormatter)
or XML or whatever...
Might be a nice convention to start, anyone have an opinion?
--
"You hide yourself with sanctimony, I hide myself with
narcissism."
--T-Bone Burnett
Marc C. Brooks
http://musingmarc.blog
spot.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|