Skip to content

Instantly share code, notes, and snippets.

@detroitpro
Created January 20, 2015 02:38
Show Gist options
  • Save detroitpro/6311c18cd44c53cc7d3e to your computer and use it in GitHub Desktop.
Save detroitpro/6311c18cd44c53cc7d3e to your computer and use it in GitHub Desktop.
ReactiveObject can't be stored in Akavache?
/// <summary>
/// ReactiveObject can't be stored in Akavache?
/// </summary>
public class ReactiveItem //: ReactiveObject
{
public string Name { get; set; }
public override string ToString ()
{
return string.Format ("[ReactiveItem: Name={0}]", Name);
}
}
@detroitpro
Copy link
Author

Yes it can!. You just need to add DataMember attribs, ReactiveObject is a DataContract.

@detroitpro
Copy link
Author

[DataMember]
public string Name { get; set; }

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