Esempio n. 1
0
        public static void Write(this XmlPortNodes xmlPortNodes, CSideWriter writer)
        {
            writer.BeginSection("ELEMENTS");

            foreach (var xmlPortNode in xmlPortNodes)
            {
                xmlPortNode.Write(writer);
            }

            writer.EndSection();
        }
Esempio n. 2
0
 public static IEnumerable <Invocation> ToInvocations(this XmlPortNodes xmlPortNodes) => xmlPortNodes.Where(n => n.IndentationLevel.GetValueOrDefault(0) == 0).Select(n => n.ToInvocation());