Swagger.Net.XmlCommentDocumentationProvider.GetMethodNode C# (CSharp) Méthode

GetMethodNode() private méthode

private GetMethodNode ( HttpActionDescriptor actionDescriptor ) : XPathNavigator
actionDescriptor HttpActionDescriptor
Résultat System.Xml.XPath.XPathNavigator
        private XPathNavigator GetMethodNode(HttpActionDescriptor actionDescriptor)
        {
            var action = actionDescriptor as ReflectedHttpActionDescriptor;
            if (action != null)
            {
                var methodSignature = GetMethodSignature(action.MethodInfo);
                var selectExpression = string.Format(METHOD_XPATH_QUERY, methodSignature);
                var node = _documentNavigator.SelectSingleNode(selectExpression);
                return node;
            }

            return null;
        }