开发者

How can one indicate to protobuf-net that an interface property should be deserialized as a particular concrete type?

开发者 https://www.devze.com 2023-03-07 22:03 出处:网络
I have this property: public class SomeClass { public ISomeInterface SomeProperty { get;set; } } Now, ISomeInterface in this particular context can only be a specific concrete type, like SomeClass2
0

精彩评论

暂无评论...
验证码 换一张
取 消