LoadFromXml method
Loads response from XML.
The reader.
End element name.
Implementation
@override
Future<void> LoadFromXml(EwsXmlReader reader, String endElementName) async {
do {
await reader.Read();
if (reader.NodeType == XmlNodeType.Element) {
if (reader.LocalName == this.GetResponseCollectionXmlElementName()) {
await this.LoadResponseCollectionFromXml(reader);
} else {
await super.LoadFromXml(reader, endElementName);
}
}
} while (!reader.IsEndElementWithNamespace(
XmlNamespace.Autodiscover, endElementName));
}