Beispiel #1
0
        public IMsBuildElementHelp Convert(IXmlHelp xmlHelp)
        {
            IMsBuildElementHelp msBuildElementHelp = new MsBuildElementHelp();
            XmlHelpParagraphToMsBuildElementHelpParagraphConverter converter =
                new XmlHelpParagraphToMsBuildElementHelpParagraphConverter();

            foreach (var xmlHelpParagraph in xmlHelp)
            {
                msBuildElementHelp.Add(converter.Convert(xmlHelpParagraph));
            }

            return(msBuildElementHelp);
        }
Beispiel #2
0
        public static IMsBuildElementHelpParagraph ToMsBuildElementHelp(this IXmlCommentHelpParagraph xmlHelp)
        {
            XmlHelpParagraphToMsBuildElementHelpParagraphConverter converter = new XmlHelpParagraphToMsBuildElementHelpParagraphConverter();

            return(converter.Convert(xmlHelp));
        }