C# Class Rolcore.UriExtensions

Extensions for Uri.
显示文件 Open project: Rollins/Rolcore

Public Methods

Method Description
GetBaseUri ( this uri ) : Uri

Extracts the base URL from a Uri.

Private Methods

Method Description
GetDomainName ( this uri ) : string
GetSubDomain ( this uri ) : string

Method Details

GetBaseUri() public static method

Extracts the base URL from a Uri.
public static GetBaseUri ( this uri ) : Uri
uri this Specifies the URI from which to extract the base URL.
return System.Uri