-
0 votesanswersviews
在Catel ModelBase.Load中支持XmlRoot,XmlAttribute和XmlElement?
我遇到了来自ModelBase的派生类的问题 . 我想要对它们进行seralize和deseiralize,但是我还想使用XmlAttribute和XmlElement将xml属性映射到属性 . 现在,我似乎无法使用任何派生自ModelBase的类 . 当我使用标准的XmlSerialize时,我没有得到任何值 如果我删除基类并使用XmlSerialiez,一切正常 使用ModelBa...