internal static GeneralHelpInfo Load(System.Xml.XmlNode xmlNode) { GeneralHelpInfo info = new GeneralHelpInfo(xmlNode); if (string.IsNullOrEmpty(info.Name)) { return null; } info.AddCommonHelpProperties(); return info; }
internal static GeneralHelpInfo Load(System.Xml.XmlNode xmlNode) { GeneralHelpInfo info = new GeneralHelpInfo(xmlNode); if (string.IsNullOrEmpty(info.Name)) { return(null); } info.AddCommonHelpProperties(); return(info); }
internal static GeneralHelpInfo Load(XmlNode xmlNode) { using (GeneralHelpInfo.tracer.TraceMethod()) { GeneralHelpInfo generalHelpInfo = new GeneralHelpInfo(xmlNode); if (string.IsNullOrEmpty(generalHelpInfo.Name)) { return((GeneralHelpInfo)null); } generalHelpInfo.AddCommonHelpProperties(); return(generalHelpInfo); } }
/// <summary> /// Create a GeneralHelpInfo object from an XmlNode. /// </summary> /// <param name="xmlNode">xmlNode that contains help info</param> /// <returns>GeneralHelpInfo object created</returns> internal static GeneralHelpInfo Load(XmlNode xmlNode) { GeneralHelpInfo generalHelpInfo = new GeneralHelpInfo(xmlNode); if (String.IsNullOrEmpty(generalHelpInfo.Name)) { return(null); } generalHelpInfo.AddCommonHelpProperties(); return(generalHelpInfo); }
/// <summary> /// Create a GeneralHelpInfo object from an XmlNode. /// </summary> /// <param name="xmlNode">xmlNode that contains help info</param> /// <returns>GeneralHelpInfo object created</returns> internal static GeneralHelpInfo Load(XmlNode xmlNode) { GeneralHelpInfo generalHelpInfo = new GeneralHelpInfo(xmlNode); if (String.IsNullOrEmpty(generalHelpInfo.Name)) return null; generalHelpInfo.AddCommonHelpProperties(); return generalHelpInfo; }