/// <summary> /// Create a new instance of the PackageChangelog class that is /// populated by the contents of the XmlNode. /// </summary> /// <param name="node">A XmlNode that was generated by a previous call to the Save() method.</param> public PackageChangelog(XmlNode node) { Version = new PackageVersion(node.Attributes["Version"].Value); Description = node.InnerText; }
/// <summary> /// Create a new changelog instance. The instance is empty and /// must be populated by the caller before general use. /// </summary> public PackageChangelog() { Version = new PackageVersion("1.0.0"); Description = String.Empty; }