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

            if (string.IsNullOrEmpty(info.Name))
            {
                return(null);
            }
            info.AddCommonHelpProperties();
            return(info);
        }
Esempio n. 3
0
        /// <summary>
        /// Create a GlossaryHelpInfo object from an XmlNode.
        /// </summary>
        /// <param name="xmlNode">xmlNode that contains help info</param>
        /// <returns>GlossaryHelpInfo object created</returns>
        internal static GlossaryHelpInfo Load(XmlNode xmlNode)
        {
            GlossaryHelpInfo glossaryHelpInfo = new GlossaryHelpInfo(xmlNode);

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

            glossaryHelpInfo.AddCommonHelpProperties();

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

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

            glossaryHelpInfo.AddCommonHelpProperties();

            return glossaryHelpInfo;
        }