Created
April 2, 2015 05:04
-
-
Save rushfrisby/bd5ab77ae92e92d122ad to your computer and use it in GitHub Desktop.
Example class that cant be serialized by protobuf-net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DataContract] | |
public class MyNameValueInfo | |
{ | |
[DataMember(Order = 1)] | |
public string Name { get; set; } | |
[DataMember(Order = 2)] | |
public object Value { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment