Class UriParsingHelper
Helper class for parsing System.Uri instances.
Inheritance
System.Object
UriParsingHelper
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Infrastructure
Assembly: Sartorius.SAF.dll
Syntax
public static class UriParsingHelper
Methods
View SourceGetAbsolutePath(Uri)
Gets the AbsolutePath part of uri
.
Declaration
public static string GetAbsolutePath(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The Uri. |
Returns
Type | Description |
---|---|
System.String |
GetQuery(Uri)
Gets the query part of uri
.
Declaration
public static string GetQuery(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The Uri. |
Returns
Type | Description |
---|---|
System.String |
ParseQuery(Uri)
Parses the query of uri
into a dictionary.
Declaration
public static UriQuery ParseQuery(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The URI. |
Returns
Type | Description |
---|---|
UriQuery |