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;
}