private void LoadViews(XmlNode configNode) { foreach( XmlNode currentNode in configNode.SelectNodes( NodeXPath ) ) { NodeSettings node = new NodeSettings( currentNode ); _views.Add( node.View, node ); } }
/// <summary> /// Returns an array <see cref="UIProcess.NodeSettings"/> for each node specfied in the navigation graph. /// </summary> /// <returns>The settings.</returns> public NodeSettings[] Views() { NodeSettings[] results = new NodeSettings[_views.Count]; _views.Values.CopyTo(results,0); return results; }