v1.0.17
Installation
Changelog
-
Introduced new
TryGet{Type}
extension methods forIHttpQueryString
(see #1 and 5d28f87)
This release introduces a number of extension methodsIHttpQueryString
for attempting to get values in different types - eg.TryGetBoolean
,TryGetInt32
and similar. -
Added null checks to the
HttpQueryString.Add
andHttpQueryString.Set
methods (see c9fc87f)
The methods now properly handle when being passed a null value. -
Added
Parse
methods to theHttpQueryString
class, obsoleting the existingParseQueryString
methods (see fc3b31d)
HavingQueryString
in the method names feels a bit redundant, so the twoParseQueryString
methods have now been marked as obsolete, and twoParse
methods have been added to replace them. -
Added
TryParse
methods to theHttpQueryString
class (see 924dbdb)
As theParse
methods may fail if passed an invalid string representation of a query string, so the twoTryParse
methods in this release encapsulates any error handling should the parsing fail.