c# Programming Glossary: protomember
Protobuf attributes with a hierarchy of generic classes http://stackoverflow.com/questions/1296791/protobuf-attributes-with-a-hierarchy-of-generic-classes Query IQuery DataSet public new DataSet Result get set ProtoMember 1 protected override string ResultString get if Result null.. ProtoContract class W Query IQuery bool ProtoMember 1 public new bool Result get set protected override string ResultString.. bool value ProtoContract class X Query IQuery string ProtoMember 1 public new string Result get set protected override string..
In Protobuf-net how can I pass an array of type object with objects of different types inside, knowing the set of potential types in advance http://stackoverflow.com/questions/2678249/in-protobuf-net-how-can-i-pass-an-array-of-type-object-with-objects-of-different List MessageParam parameters new List MessageParam ProtoMember 1 public List MessageParam Parameters get return parameters.. ProtoContract sealed class MessageParam T MessageParam ProtoMember 1 public T Value get set public override object UntypedValue..
protobuf-net inheritance http://stackoverflow.com/questions/6247513/protobuf-net-inheritance the inheritance example below add DynamicType true to the ProtoMember ... in question The second is not very pure protobuf it embeds..
Deserialize unknown type with protobuf-net http://stackoverflow.com/questions/675349/deserialize-unknown-type-with-protobuf-net 50 typeof BeginRequest abstract internal class BaseMessage ProtoMember 1 abstract public UInt16 messageType get Serializable ProtoContract.. ProtoContract internal class BeginRequest BaseMessage ProtoMember 1 public override UInt16 messageType get return 1 Fixed using.. 1 Fixed using Marc Gravell's suggestion. I removed the ProtoMember attribute from the readonly properties. Also switched to using..
ProtoBuf-net serializing IEnumerable<T> http://stackoverflow.com/questions/7793527/protobuf-net-serializing-ienumerablet to external Add method in ProtoMemeber attribute Why using ProtoMember 1 OverwriteList true doesn't work Doesn't it suppose to overwrite..
protobuf and List<object> - how to serialize / deserialize? http://stackoverflow.com/questions/923977/protobuf-and-listobject-how-to-serialize-deserialize public DataItem public DataItem T value Value value ProtoMember 1 public new T Value get set protected override object ValueImpl.. Value set Value T value ProtoContract public class Foo ProtoMember 1 public string Bar get set public override string ToString..
|