Share via


NavigationManagerExtensions.GetUriWithQueryParameter Method

Definition

Overloads

GetUriWithQueryParameter(NavigationManager, String, Boolean)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, TimeOnly)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, String)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Single)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, Nullable<TimeOnly>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Single>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Int64>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Int32>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Guid>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Double>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Decimal>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<DateOnly>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Nullable<Boolean>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Int64)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, Int32)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, Guid)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, Double)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, Decimal)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, DateTime)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, DateOnly)

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

GetUriWithQueryParameter(NavigationManager, String, Nullable<DateTime>)

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

GetUriWithQueryParameter(NavigationManager, String, Boolean)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, bool value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * bool -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Boolean) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Boolean

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, TimeOnly)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, TimeOnly value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * TimeOnly -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As TimeOnly) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
TimeOnly

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, String)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, string? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * string -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As String) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
String

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Single)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, float value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * single -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Single) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Single

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<TimeOnly>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, TimeOnly? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<TimeOnly> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of TimeOnly)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<TimeOnly>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Single>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, float? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<single> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Single)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Single>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Int64>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, long? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<int64> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Long)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Int64>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Int32>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, int? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<int> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Integer)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Int32>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Guid>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, Guid? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<Guid> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Guid)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Guid>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Double>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, double? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<double> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Double)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Double>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Decimal>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, decimal? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<decimal> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Decimal)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Decimal>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<DateOnly>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, DateOnly? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<DateOnly> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of DateOnly)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<DateOnly>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<Boolean>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, bool? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<bool> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of Boolean)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<Boolean>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to

GetUriWithQueryParameter(NavigationManager, String, Int64)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, long value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * int64 -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Long) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Int64

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, Int32)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, int value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * int -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Integer) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Int32

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, Guid)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, Guid value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Guid -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Guid) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Guid

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, Double)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, double value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * double -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Double) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Double

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, Decimal)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, decimal value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * decimal -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Decimal) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Decimal

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, DateTime)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, DateTime value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * DateTime -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As DateTime) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
DateTime

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, DateOnly)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added or updated.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, DateOnly value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * DateOnly -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As DateOnly) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
DateOnly

The value of the parameter to add or update.

Returns

Applies to

GetUriWithQueryParameter(NavigationManager, String, Nullable<DateTime>)

Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs
Source:
NavigationManagerExtensions.cs

Returns a URI that is constructed by updating Uri with a single parameter added, updated, or removed.

public static string GetUriWithQueryParameter (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string name, DateTime? value);
static member GetUriWithQueryParameter : Microsoft.AspNetCore.Components.NavigationManager * string * Nullable<DateTime> -> string
<Extension()>
Public Function GetUriWithQueryParameter (navigationManager As NavigationManager, name As String, value As Nullable(Of DateTime)) As String

Parameters

navigationManager
NavigationManager

The NavigationManager.

name
String

The name of the parameter to add or update.

value
Nullable<DateTime>

The value of the parameter to add or update.

Returns

Remarks

If value is null, the parameter will be removed if it exists in the URI. Otherwise, it will be added or updated.

Applies to