C# Class Junior.Route.AspNetIntegration.UrlResolver

Inheritance: IUrlResolver
显示文件 Open project: nathan-alden/junior-route Class Usage Examples

Public Methods

Method Description
Absolute ( Scheme scheme, string relativeUrl ) : string
Absolute ( string relativeUrl ) : string
Route ( System.Guid routeId ) : string
Route ( Scheme scheme, System.Guid routeId ) : string
Route ( Scheme scheme, string routeName ) : string
Route ( string routeName ) : string
UrlResolver ( Func routes, IUrlResolverConfiguration configuration, IHttpRuntime httpRuntime ) : System
UrlResolver ( IRouteCollection routes, IUrlResolverConfiguration configuration, IHttpRuntime httpRuntime ) : System

Method Details

Absolute() public method

public Absolute ( Scheme scheme, string relativeUrl ) : string
scheme Scheme
relativeUrl string
return string

Absolute() public method

public Absolute ( string relativeUrl ) : string
relativeUrl string
return string

Route() public method

public Route ( System.Guid routeId ) : string
routeId System.Guid
return string

Route() public method

public Route ( Scheme scheme, System.Guid routeId ) : string
scheme Scheme
routeId System.Guid
return string

Route() public method

public Route ( Scheme scheme, string routeName ) : string
scheme Scheme
routeName string
return string

Route() public method

public Route ( string routeName ) : string
routeName string
return string

UrlResolver() public method

public UrlResolver ( Func routes, IUrlResolverConfiguration configuration, IHttpRuntime httpRuntime ) : System
routes Func
configuration IUrlResolverConfiguration
httpRuntime IHttpRuntime
return System

UrlResolver() public method

public UrlResolver ( IRouteCollection routes, IUrlResolverConfiguration configuration, IHttpRuntime httpRuntime ) : System
routes IRouteCollection
configuration IUrlResolverConfiguration
httpRuntime IHttpRuntime
return System