UriExtensions Class

 

Contains extension methods to allow strongly typed objects to be read from the query component of Uri instances.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.UriExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class UriExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class UriExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type UriExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class UriExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static ParseQueryString(Uri)

Parses the query portion of the specified URI.

System_CAPS_pubmethodSystem_CAPS_static TryReadQueryAs(Uri, Type, Object)

Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.

System_CAPS_pubmethodSystem_CAPS_static TryReadQueryAs<T>(Uri, T)

Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.

System_CAPS_pubmethodSystem_CAPS_static TryReadQueryAsJson(Uri, JObject)

Reads HTML form URL encoded data provided in the Uri query component as a JObject object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Net.Http Namespace

Return to top