¡@

Home 

c# Programming Glossary: messageparam

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

Using the code you wrote. I thought I should use MessageParam Create to generate MessageParam objects to add to the list... I thought I should use MessageParam Create to generate MessageParam objects to add to the list. So basically I added a constructor.. object parms foreach object o in parms parameters.Add MessageParam.Create o But if i do that I will get Unexpected type found..