On 2012-04-17 10:50, deadalnix wrote:
Then it won't be possible to serialize third party types if they don't
implements ISerializable. In this case, this solution is no better then
manually registering types. Actually it's worse, since I can manually
register third party types.
Any type that mixin Serialize would be serializable, which is pretty nice.
It's even nicer if that's not needed. Again, what I said above.
Another way would be to inherit attribute. Then a runtime reflection
script can retrieve all declaration with a given attribute.
--
/Jacob Carlborg