コード例 #1
0
 private void LoadViews(XmlNode configNode)
 {
     foreach( XmlNode currentNode in configNode.SelectNodes( NodeXPath ) )
     {
         NodeSettings node = new NodeSettings( currentNode );
         _views.Add( node.View, node );
     }
 }
コード例 #2
0
 /// <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;
 }