private XmlClass CreateFromXml(XmlElement node) { switch (node.LocalName) { case "configuration": return(Configuration.CreateFromXml(node)); case "component": return(Component.CreateFromXml(node)); case "installedcheck": return(InstalledCheck.CreateFromXml(node)); case "installedcheckoperator": return(InstalledCheckOperator.CreateFromXml(node)); case "download": return(Download.CreateFromXml(node)); case "downloaddialog": return(DownloadDialog.CreateFromXml(node)); case "embedfile": return(EmbedFile.CreateFromXml(node)); case "embedfolder": return(EmbedFolder.CreateFromXml(node)); case "control": return(Control.CreateFromXml(node)); default: throw new Exception(string.Format("Unsupported node: {0}", node.LocalName)); } }
public static InstalledCheckOperator CreateFromXml(XmlElement element) { InstalledCheckOperator result = new InstalledCheckOperator(); result.FromXml(element); return(result); }
public static InstalledCheckOperator CreateFromXml(XmlElement element) { InstalledCheckOperator result = new InstalledCheckOperator(); result.FromXml(element); return result; }