C# Class Dysphoria.Net.UrlRouting.MvcUrlUtilities.PathHelpers

Show file Open project: bunsen32/typed-url-routing

Public Methods

Method Description
GenerateClientUrl ( System.Web.HttpContextBase httpContext, string contentPath ) : string
MakeAbsolute ( string basePath, string relativePath ) : string
MakeRelative ( string fromPath, string toPath ) : string

Private Methods

Method Description
GenerateClientUrlInternal ( System.Web.HttpContextBase httpContext, string contentPath ) : string
ResetUrlRewriterHelper ( ) : void
StripQuery ( string path, string &query ) : string

Method Details

GenerateClientUrl() public static method

public static GenerateClientUrl ( System.Web.HttpContextBase httpContext, string contentPath ) : string
httpContext System.Web.HttpContextBase
contentPath string
return string

MakeAbsolute() public static method

public static MakeAbsolute ( string basePath, string relativePath ) : string
basePath string
relativePath string
return string

MakeRelative() public static method

public static MakeRelative ( string fromPath, string toPath ) : string
fromPath string
toPath string
return string