private static CustomShellType.ParamStruct ReadParamNode(XmlNode child) { CustomShellType.ParamStruct par = new CustomShellType.ParamStruct(); par.Name = child.InnerText; par.Location = child.Attributes["location"].Value; string encrymode = child.Attributes["encrymode"].Value; par.EncryMode = (EncryMode)Enum.Parse(typeof(EncryMode), encrymode); return(par); }
private static CustomShellType.ParamStruct ReadParamNode(XmlNode child) { CustomShellType.ParamStruct par=new CustomShellType.ParamStruct(); par.Name = child.InnerText; par.Location = child.Attributes["location"].Value; string encrymode = child.Attributes["encrymode"].Value; par.EncryMode = (EncryMode)Enum.Parse(typeof(EncryMode), encrymode); return par; }