AW.Webapi.Sample.Areas.HelpPage.XmlDocumentationProvider.GetMethodNode C# (CSharp) 메소드

GetMethodNode() 개인적인 메소드

private GetMethodNode ( HttpActionDescriptor actionDescriptor ) : XPathNavigator
actionDescriptor HttpActionDescriptor
리턴 System.Xml.XPath.XPathNavigator
        private XPathNavigator GetMethodNode(HttpActionDescriptor actionDescriptor)
        {
            ReflectedHttpActionDescriptor reflectedActionDescriptor = actionDescriptor as ReflectedHttpActionDescriptor;
            if (reflectedActionDescriptor != null)
            {
                string selectExpression = String.Format(CultureInfo.InvariantCulture, MethodExpression, GetMemberName(reflectedActionDescriptor.MethodInfo));
                return _documentNavigator.SelectSingleNode(selectExpression);
            }

            return null;
        }