Export (0) Print
Expand All

UriExtensions Class

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

System.Object
  System.Net.Http.UriExtensions

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

public static class UriExtensions

The UriExtensions type exposes the following members.

  NameDescription
Public methodStatic memberParseQueryStringParses the query portion of the specified URI.
Public methodStatic memberTryReadQueryAs(Uri, Type, Object)Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.
Public methodStatic memberTryReadQueryAs<T>(Uri, T)Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.
Public methodStatic memberTryReadQueryAsJsonReads HTML form URL encoded data provided in the Uri query component as a JObject object.
Top

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