¡@

Home 

c# Programming Glossary: protocontract

Protobuf attributes with a hierarchy of generic classes

http://stackoverflow.com/questions/1296791/protobuf-attributes-with-a-hierarchy-of-generic-classes

Query with a large variety of generic types. For example ProtoContract class W Query bool ProtoContract class X Query string ProtoContract.. types. For example ProtoContract class W Query bool ProtoContract class X Query string ProtoContract class Y Query int ProtoContract.. class W Query bool ProtoContract class X Query string ProtoContract class Y Query int ProtoContract class Z SpecialQuery I've also..

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

going to be problematic. I would try something more like ProtoContract class Message private readonly List MessageParam parameters.. public List MessageParam Parameters get return parameters ProtoContract ProtoInclude 3 typeof MessageParam int ProtoInclude 4 typeof.. type param.UntypedValue value return param ProtoContract sealed class MessageParam T MessageParam ProtoMember 1 public..

Deserialize unknown type with protobuf-net

http://stackoverflow.com/questions/675349/deserialize-unknown-type-with-protobuf-net

the class with base class I'm serializing Serializable ProtoContract ProtoInclude 50 typeof BeginRequest abstract internal class.. 1 abstract public UInt16 messageType get Serializable ProtoContract internal class BeginRequest BaseMessage ProtoMember 1 public.. Here's what I have now Serializable ProtoContract ProtoInclude 50 typeof BeginRequest abstract internal class..

protobuf and List<object> - how to serialize / deserialize?

http://stackoverflow.com/questions/923977/protobuf-and-listobject-how-to-serialize-deserialize

System using System.Collections.Generic using ProtoBuf ProtoContract ProtoInclude 10 typeof DataItem int ProtoInclude 11 typeof DataItem.. abstract object ValueImpl get set protected DataItem ProtoContract sealed class DataItem T DataItem public DataItem public DataItem.. object ValueImpl get return Value set Value T value ProtoContract public class Foo ProtoMember 1 public string Bar get set public..