Пример #1
0
 public static ActionMetadata GetDocs(this HttpActionDescriptor action, string parentControllerName, string relativePath, HttpMethod httpMethod, XPathNavigator docs)
 {
     return(GetDocs(action.ControllerDescriptor.ControllerName, action.ActionName, action.ReturnType, parentControllerName,
                    relativePath, httpMethod, action.XPathQuery(), docs, action.GetParameters()));
 }