C# 클래스 Tavis.TreeRouteExtensions

파일 보기 프로젝트 열기: darrelmiller/ApiRouter

공개 메소드들

메소드 설명
AddWithPath ( this router, string path, Action configure ) : TreeRoute
Configure ( this router, Action configureAction ) : TreeRoute
GetAtPath ( this router, string path ) : TreeRoute
GetUrl ( this router ) : Uri
GetUrlForController ( this router, Type type, string instance = null ) : Uri
ToAction ( this router, string actionName ) : TreeRoute

메소드 상세

AddWithPath() 공개 정적인 메소드

public static AddWithPath ( this router, string path, Action configure ) : TreeRoute
router this
path string
configure Action
리턴 TreeRoute

Configure() 공개 정적인 메소드

public static Configure ( this router, Action configureAction ) : TreeRoute
router this
configureAction Action
리턴 TreeRoute

GetAtPath() 공개 정적인 메소드

public static GetAtPath ( this router, string path ) : TreeRoute
router this
path string
리턴 TreeRoute

GetUrl() 공개 정적인 메소드

public static GetUrl ( this router ) : Uri
router this
리턴 System.Uri

GetUrlForController() 공개 정적인 메소드

public static GetUrlForController ( this router, Type type, string instance = null ) : Uri
router this
type System.Type
instance string
리턴 System.Uri

ToAction() 공개 정적인 메소드

public static ToAction ( this router, string actionName ) : TreeRoute
router this
actionName string
리턴 TreeRoute