Class UriExtensions
- Namespace
- MADE.Networking.Extensions
- Assembly
- MADE.Networking.dll
Defines a collection of extensions for Uri objects.
public static class UriExtensions
- Inheritance
-
UriExtensions
- Inherited Members
Methods
GetQueryValue(Uri, string)
Gets a value from a query in the specified uri with the specified query parameter key.
public static string? GetQueryValue(this Uri uri, string queryParam)
Parameters
uriUriThe Uri to extract a query value from.
queryParamstringThe key of the parameter in the query to extract the value for.
Returns
- string
The value for the query parameter.