growl-for-windows icon indicating copy to clipboard operation
growl-for-windows copied to clipboard

Serialization of Notification (and other) object

Open GoogleCodeExporter opened this issue 9 years ago • 0 comments

Hi
I'm trying to forward growl notifications via XMPP protocol. 
To do this, I need to serialize Notification object. One way is to use JSON 
Serializer, but .NET serializer needs to object using empty constructor and 
Notification class doesn't have such one. The second way is to use i.e. 
BinaryFormatter but Notification class is not marked as Serializable.

So: mark Notification (Application and NotificationType also) classes as 
Serializable or create empty constructor for this class or allow setting all 
attributes (including MachineName and so on). Last thing should be done on 
ExtensibleObject level.


Original issue reported on code.google.com by [email protected] on 19 Apr 2012 at 9:52

GoogleCodeExporter avatar Mar 13 '15 18:03 GoogleCodeExporter