WCF中可以实现泛型接口的服务契约吗?
清泛原创

有人建议给interface加上KnownType
[DataContract]
[KnownType(typeof(Xxx))]
public class Response
{ ... }
貌似也不行。。。
上一篇:无法将类型“System.Collections.Generic.List
下一篇:解决:InnerException 消息是“ValueType“System.Decimal”不能为 Null。”
上一篇:无法将类型“System.Collections.Generic.List
下一篇:解决:InnerException 消息是“ValueType“System.Decimal”不能为 Null。”