Prebuild.Core.Kernel.GetNodeType C# (CSharp) Method

GetNodeType() public method

Gets the type of the node.
public GetNodeType ( XmlNode node ) : Type
node XmlNode The node.
return Type
		public Type GetNodeType(XmlNode node)
		{
			if( node == null )
			{
				throw new ArgumentNullException("node");
			}
			if(!m_Nodes.ContainsKey(node.Name))
			{
				return null;
			}

			NodeEntry ne = m_Nodes[node.Name];
			return ne.Type;
		}