|
C#: Attributes with Ice generated classes and structs
hi,
i'd like to use .net serialization on ice generated classes/structs.
therefore i need set the attribute [Serializable] in the beginning of the
call definition.
is there a way to do this?
maybe the compiler could support a metadata directive for this.
thx tom
PS: another solution would be to work with ice classes and registed and
object factory which generates an object base on a class with the attribute.
but thats a bit of an overkill fo just have one attribues set.
PPS: such a metadata directive is also needed for sequences and
dictionaries - in case ZeroC is planning to add this feature ;-)
Last edited by DeepDiver : 07-18-2005 at 04:14 PM.
Reason: added comment on sequences and dictionaries
|