private object DeserializeParameter(XmlDictionaryReader reader, PartInfo part) { if (((reader.AttributeCount > 0) && reader.MoveToAttribute(this.xsiNilLocalName.Value, this.xsiNilNamespace.Value)) && reader.ReadContentAsBoolean()) { reader.Skip(); return(null); } return(part.ReadValue(reader)); }
private object DeserializeParameter(XmlDictionaryReader reader, PartInfo part) { if (reader.AttributeCount > 0 && reader.MoveToAttribute(_xsiNilLocalName.Value, _xsiNilNamespace.Value) && reader.ReadContentAsBoolean()) { reader.Skip(); return null; } return part.ReadValue(reader); }