public MoveToAttribute ( string name ) : bool | ||
name | string | |
return | bool |
public override bool MoveToAttribute(string name)
{
return _currentReader.MoveToAttribute(name);
}
XSerializerXmlReader::MoveToAttribute ( string name, string ns ) : bool |
public object DeserializeObject(XSerializerXmlReader reader, ISerializeOptions options) { if (reader.MoveToAttribute(_attributeName)) { var setIsDecryptionEnabledBackToFalse = reader.MaybeSetIsDecryptionEnabledToTrue(_encryptAttribute, options); var value = _valueConverter.ParseString(reader.Value, options); if (setIsDecryptionEnabledBackToFalse) { reader.IsDecryptionEnabled = false; } reader.MoveToElement(); return value; } return null; }