public override object GetValue( IXmlNode node, IDictionaryAdapter parent, IXmlAccessor accessor ) { return(node.ClrType == typeof(object) ? new object() : XmlTypeSerializer.For(node.ClrType).GetValue(node, parent, accessor)); }
public override void SetValue(IXmlNode node, IDictionaryAdapter parent, IXmlAccessor accessor, object oldValue, ref object value) { if (node.ClrType != typeof(object)) { XmlTypeSerializer.For(node.ClrType).SetValue(node, parent, accessor, oldValue, ref value); } else { node.Clear(); } }