public XmlDocumentationProvider(string documentPath) { if (documentPath == null) { throw new ArgumentNullException("documentPath"); } var xpath = new XPathDocument(documentPath); _documentNavigator = xpath.CreateNavigator(); }