CCNet.Common.ProjectHelper.SelectSingleNode C# (CSharp) Method

SelectSingleNode() private static method

Executes XPath query over existing project document and namespace manager.
private static SelectSingleNode ( string xpath ) : XmlNode
xpath string
return System.Xml.XmlNode
		private static XmlNode SelectSingleNode(string xpath)
		{
			if (s_projectDocument == null)
				throw new InvalidOperationException("Project document is not loaded.");

			return s_projectDocument.SelectSingleNode(xpath, s_namespaceManager);
		}