C# 클래스 Swagger.Net.XmlCommentDocumentationProvider

Accesses the XML doc blocks written in code to further document the API. All credit goes to: http://blogs.msdn.com/b/yaohuang1/archive/2012/05/21/asp-net-web-api-generating-a-web-api-help-page-using-apiexplorer.aspx
상속: IDocumentationProvider
파일 보기 프로젝트 열기: danieleli/Swagger.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetDocumentation ( HttpActionDescriptor actionDescriptor ) : string
GetDocumentation ( HttpParameterDescriptor parameterDescriptor ) : string
GetDocumentation ( PropertyInfo propInfo ) : string
GetDocumentation ( Type type ) : string
GetDocumentation ( XPathNavigator node ) : string
GetRemarks ( HttpActionDescriptor actionDescriptor ) : string
GetRemarks ( Type type ) : string
GetResponseClass ( HttpActionDescriptor actionDescriptor ) : string
XmlCommentDocumentationProvider ( string documentPath ) : System

비공개 메소드들

메소드 설명
GetActionDocumentation ( HttpActionDescriptor actionDescriptor, string selector ) : string
GetGenericResponseClass ( MethodInfo methodInfo ) : string
GetMethodNode ( HttpActionDescriptor actionDescriptor ) : XPathNavigator
GetMethodSignature ( MethodInfo method ) : string
GetNodeText ( XPathNavigator node, string selector ) : string

메소드 상세

GetDocumentation() 공개 메소드

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

GetDocumentation() 공개 메소드

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

GetDocumentation() 공개 메소드

public GetDocumentation ( PropertyInfo propInfo ) : string
propInfo System.Reflection.PropertyInfo
리턴 string

GetDocumentation() 공개 메소드

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

GetDocumentation() 공개 메소드

public GetDocumentation ( XPathNavigator node ) : string
node System.Xml.XPath.XPathNavigator
리턴 string

GetRemarks() 공개 메소드

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

GetRemarks() 공개 메소드

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

GetResponseClass() 공개 메소드

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

XmlCommentDocumentationProvider() 공개 메소드

public XmlCommentDocumentationProvider ( string documentPath ) : System
documentPath string
리턴 System