/// <summary> /// Creates a list of WhatsNew object from the given xml reader. Throws an excption on failure. /// </summary> public static List <WhatsNew> ParseWithException(XmlReader xml) { return(WhatsNewFactory.ParseWithException(xml)); }
/// <summary> /// Creates a list of WhatsNew objects from the given stream. /// </summary> /// <exception cref="Exception">If the stream does not parse into a valid whats new list.</exception> /// <returns>The from stream.</returns> /// <param name="stream">Stream.</param> public static List <WhatsNew> ParseWithException(Stream stream) { // return ParseWithException(XmlReader.Create(stream)); return(WhatsNewFactory.ParseOrThrow(stream)); }