Serializing an IEnumerable trough WCF using Protobuf-net and Monotouch for IOS

佐手、 提交于 2019-12-05 07:23:45

I suspect it should be possible to tweak the data-contract serializer code for that. I'll take a look.

For now: my advice would be to return an obvious concrete type that has the IEnumerable<T> as a property. Or maybe return a List<T> instead, which might work.

It sounds reasonable to support this scenario, though. I'll see what I can do.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!