C# Class Tavis.TreeRouteExtensions

Afficher le fichier Open project: darrelmiller/ApiRouter

Méthodes publiques

Méthode Description
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

Method Details

AddWithPath() public static méthode

public static AddWithPath ( this router, string path, Action configure ) : TreeRoute
router this
path string
configure Action
Résultat TreeRoute

Configure() public static méthode

public static Configure ( this router, Action configureAction ) : TreeRoute
router this
configureAction Action
Résultat TreeRoute

GetAtPath() public static méthode

public static GetAtPath ( this router, string path ) : TreeRoute
router this
path string
Résultat TreeRoute

GetUrl() public static méthode

public static GetUrl ( this router ) : Uri
router this
Résultat System.Uri

GetUrlForController() public static méthode

public static GetUrlForController ( this router, Type type, string instance = null ) : Uri
router this
type System.Type
instance string
Résultat System.Uri

ToAction() public static méthode

public static ToAction ( this router, string actionName ) : TreeRoute
router this
actionName string
Résultat TreeRoute