P
Peter Tewkesbury
Hi,
I have a class which I have marked with the serializable
attribute. All the serialize code works untill I added an
event to the class. An now, when I come to serialize the
class, it wants to serialize the class where an event sink
is defined
I can only stop this by removing all the events from the
class before serialization, and adding them back after.
C# will not let me add [NonSerialized()] to the event
variable defintion.
Thanks
Peter Tewkesbury
I have a class which I have marked with the serializable
attribute. All the serialize code works untill I added an
event to the class. An now, when I come to serialize the
class, it wants to serialize the class where an event sink
is defined
I can only stop this by removing all the events from the
class before serialization, and adding them back after.
C# will not let me add [NonSerialized()] to the event
variable defintion.
Thanks
Peter Tewkesbury