C# 클래스 WebApiContrib.Tracing.Slab.DemoApp.Areas.HelpPage.XmlDocumentationProvider

A custom IDocumentationProvider that reads the API documentation from an XML documentation file.
상속: IDocumentationProvider, IModelDocumentationProvider
파일 보기 프로젝트 열기: WebApiContrib/WebApiContrib.Tracing.Slab

공개 메소드들

메소드 설명
GetDocumentation ( HttpActionDescriptor actionDescriptor ) : string
GetDocumentation ( HttpControllerDescriptor controllerDescriptor ) : string
GetDocumentation ( HttpParameterDescriptor parameterDescriptor ) : string
GetDocumentation ( MemberInfo member ) : string
GetDocumentation ( Type type ) : string
GetResponseDocumentation ( HttpActionDescriptor actionDescriptor ) : string
XmlDocumentationProvider ( string documentPath ) : System

Initializes a new instance of the XmlDocumentationProvider class.

비공개 메소드들

메소드 설명
GetMemberName ( MethodInfo method ) : string
GetMethodNode ( HttpActionDescriptor actionDescriptor ) : XPathNavigator
GetTagValue ( XPathNavigator parentNode, string tagName ) : string
GetTypeName ( Type type ) : string
GetTypeNode ( Type type ) : XPathNavigator

메소드 상세

GetDocumentation() 공개 메소드

public GetDocumentation ( HttpActionDescriptor actionDescriptor ) : string
actionDescriptor HttpActionDescriptor
리턴 string

GetDocumentation() 공개 메소드

public GetDocumentation ( HttpControllerDescriptor controllerDescriptor ) : string
controllerDescriptor HttpControllerDescriptor
리턴 string

GetDocumentation() 공개 메소드

public GetDocumentation ( HttpParameterDescriptor parameterDescriptor ) : string
parameterDescriptor HttpParameterDescriptor
리턴 string

GetDocumentation() 공개 메소드

public GetDocumentation ( MemberInfo member ) : string
member System.Reflection.MemberInfo
리턴 string

GetDocumentation() 공개 메소드

public GetDocumentation ( Type type ) : string
type System.Type
리턴 string

GetResponseDocumentation() 공개 메소드

public GetResponseDocumentation ( HttpActionDescriptor actionDescriptor ) : string
actionDescriptor HttpActionDescriptor
리턴 string

XmlDocumentationProvider() 공개 메소드

Initializes a new instance of the XmlDocumentationProvider class.
public XmlDocumentationProvider ( string documentPath ) : System
documentPath string The physical path to XML document.
리턴 System