Re: [protobuf] print out each field in a message

2011-06-22 Thread Jason Hsueh
Your best bet is to look at the other C# projects; we don't maintain any C# code. However, TextFormat in the C++ implementation does exactly this, so you might be able to use that as a starting point. Of course the reflection APIs may be different in the other implementations. On Mon, Jun 20, 2011

[protobuf] print out each field in a message

2011-06-21 Thread lasse
How to I use reflections to print out each field in a message? I have the .proto file. I would love so see an example in csharp showing how to do this. One idea is ProtoDump in the protobuf-csharp-port project, but I am currently using protobuf-net (can switch). -- You received this message b