Bamboo.Prevalence.XPath.XPathObjectNavigator.XPathObjectNavigator C# (CSharp) Метод

XPathObjectNavigator() публичный Метод

Create a new navigator for the object graph starting at node. The node's name is nodeName.
public XPathObjectNavigator ( object node, string nodeName ) : System
node object root
nodeName string root's name
Результат System
		public XPathObjectNavigator(object node, string nodeName)
		{
			_context = new ObjectNavigationContext();
			_context.NameTable.Add(string.Empty);			
			_root = new ObjectNavigatorStateRoot(_context, node, nodeName);
			_state = _root.MoveToFirstChild();
			_lang = _context.NameTable.Add("en-US");
		}

Same methods

XPathObjectNavigator::XPathObjectNavigator ( XPathObjectNavigator other ) : System
XPathObjectNavigator::XPathObjectNavigator ( object node ) : System