Dnia 18-04-2006, wto o godzinie 12:05 -0500, Jonathan Gilbert napisaĆ(a): > Just to elaborate on this (for the original poster), XML serializtion was > designed with the goal of generating XML for instances of existing data > types, and so using it for the inverse mapping -- taking an arbitrary XML > structure and mapping a hierarchy of C# data types onto it -- is something > that is not guaranteed to work.
But it's sooo convenient :P > One approach to slightly sweeten the syntax might be to add an implicit > conversion from your dummy class to 'bool': That solves reading bool from program, but not writing it. Anyway, I can live with my current solution. Thanks for all answers. -- Dominik Zablotny xmpp:[EMAIL PROTECTED] _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
