Method GetQueryValue
GetQueryValue(string)
Gets a query value using an case-insensitive search.
[Obsolete("This method is deprecated and will be removed in later Sisk versions. Please, use the Query property instead.")]
public string? GetQueryValue(string queryKeyName)
Parameters
queryKeyName
stringThe query value name.
Returns
GetQueryValue<T>(string)
Gets the value stored from the Query and converts it to the given type.
[Obsolete("This method is deprecated and will be removed in later Sisk versions. Please, use the Query property instead.")]
public T GetQueryValue<T>(string queryKeyName) where T : IParsable<T>
Parameters
queryKeyName
stringThe name of the URL parameter. The search is ignore-case.
Returns
- T
Type Parameters
T
The parseable type which will be converted to.