Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization of Notification (and other) object #41

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

Serialization of Notification (and other) object #41

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant