System.Collections.Generic.List.Add(hdsdump.f4m.XmlNodeEx)

Here are the examples of the csharp api class System.Collections.Generic.List.Add(hdsdump.f4m.XmlNodeEx) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: hdsdump
Source File: XMLex.cs
View license
public List<XmlNodeEx> GetChildNodesByName(string nodeName) {
            List<XmlNodeEx> nodeList = new List<XmlNodeEx>();
            foreach (XmlNode node in ChildNodes) {
                if (node.Name == nodeName) {
                    XmlNodeEx nodeEx = node as XmlNodeEx;
                    if (nodeEx != null)
                        nodeList.Add(nodeEx);
                }
            }
            return nodeList;
        }