C# Class OpenRasta.Web.UriExtensions

显示文件 Open project: Huddle/openrasta-stable

Public Methods

Method Description
EnsureHasTrailingSlash ( this uri ) : Uri
ForView ( this uri, string viewName ) : Uri
GetSegments ( this uri ) : string[]
IgnoreAuthority ( this uri ) : Uri
IgnorePortAndAuthority ( this uri ) : Uri
IgnoreSchemePortAndAuthority ( this uri ) : Uri
MakeAbsolute ( this uri, Uri baseUri ) : Uri
MakeAbsolute ( this uri, string baseUri ) : Uri
ReplaceAuthority ( this uri, Uri baseUri ) : Uri

Method Details

EnsureHasTrailingSlash() public static method

public static EnsureHasTrailingSlash ( this uri ) : Uri
uri this
return System.Uri

ForView() public static method

public static ForView ( this uri, string viewName ) : Uri
uri this
viewName string
return System.Uri

GetSegments() public static method

public static GetSegments ( this uri ) : string[]
uri this
return string[]

IgnoreAuthority() public static method

public static IgnoreAuthority ( this uri ) : Uri
uri this
return System.Uri

IgnorePortAndAuthority() public static method

public static IgnorePortAndAuthority ( this uri ) : Uri
uri this
return System.Uri

IgnoreSchemePortAndAuthority() public static method

public static IgnoreSchemePortAndAuthority ( this uri ) : Uri
uri this
return System.Uri

MakeAbsolute() public static method

public static MakeAbsolute ( this uri, Uri baseUri ) : Uri
uri this
baseUri System.Uri
return System.Uri

MakeAbsolute() public static method

public static MakeAbsolute ( this uri, string baseUri ) : Uri
uri this
baseUri string
return System.Uri

ReplaceAuthority() public static method

public static ReplaceAuthority ( this uri, Uri baseUri ) : Uri
uri this
baseUri System.Uri
return System.Uri