Example #1
0
 internal static FaqHelpInfo Load(System.Xml.XmlNode xmlNode)
 {
     FaqHelpInfo info = new FaqHelpInfo(xmlNode);
     if (string.IsNullOrEmpty(info.Name))
     {
         return null;
     }
     info.AddCommonHelpProperties();
     return info;
 }
Example #2
0
        internal static FaqHelpInfo Load(System.Xml.XmlNode xmlNode)
        {
            FaqHelpInfo info = new FaqHelpInfo(xmlNode);

            if (string.IsNullOrEmpty(info.Name))
            {
                return(null);
            }
            info.AddCommonHelpProperties();
            return(info);
        }
Example #3
0
 internal static FaqHelpInfo Load(XmlNode xmlNode)
 {
     using (FaqHelpInfo.tracer.TraceMethod())
     {
         FaqHelpInfo faqHelpInfo = new FaqHelpInfo(xmlNode);
         if (string.IsNullOrEmpty(faqHelpInfo.Name))
         {
             return((FaqHelpInfo)null);
         }
         faqHelpInfo.AddCommonHelpProperties();
         return(faqHelpInfo);
     }
 }
Example #4
0
        /// <summary>
        /// Create a FaqHelpInfo object from an XmlNode.
        /// </summary>
        /// <param name="xmlNode">xmlNode that contains help info</param>
        /// <returns>FaqHelpInfo object created</returns>
        internal static FaqHelpInfo Load(XmlNode xmlNode)
        {
            FaqHelpInfo faqHelpInfo = new FaqHelpInfo(xmlNode);

            if (String.IsNullOrEmpty(faqHelpInfo.Name))
            {
                return(null);
            }

            faqHelpInfo.AddCommonHelpProperties();

            return(faqHelpInfo);
        }
Example #5
0
        /// <summary>
        /// Create a FaqHelpInfo object from an XmlNode.
        /// </summary>
        /// <param name="xmlNode">xmlNode that contains help info</param>
        /// <returns>FaqHelpInfo object created</returns>
        internal static FaqHelpInfo Load(XmlNode xmlNode)
        {
            FaqHelpInfo faqHelpInfo = new FaqHelpInfo(xmlNode);

            if (String.IsNullOrEmpty(faqHelpInfo.Name))
                return null;

            faqHelpInfo.AddCommonHelpProperties();

            return faqHelpInfo;
        }