mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
feat: added not null tag to ICDUriBuilder constructor that takes a Uri as an argument.
This commit is contained in:
committed by
Chris Cameron
parent
d1ec8a45d1
commit
11c4d10a51
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
- Added Not null tag for ICDUriBuilder Constructor that takes a URI as an argument.
|
||||||
- Added MathUtils methods for converting to and from percentages
|
- Added MathUtils methods for converting to and from percentages
|
||||||
- Added enum extensions for finding the inclusion and exclusion of enum flags
|
- Added enum extensions for finding the inclusion and exclusion of enum flags
|
||||||
- Added DateTime extensions for adding years, months, days, hours, minutes and wrapping without modifying other values
|
- Added DateTime extensions for adding years, months, days, hours, minutes and wrapping without modifying other values
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using System.Linq;
|
|||||||
#endif
|
#endif
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using ICD.Common.Properties;
|
||||||
using ICD.Common.Utils.Extensions;
|
using ICD.Common.Utils.Extensions;
|
||||||
|
|
||||||
namespace ICD.Common.Utils
|
namespace ICD.Common.Utils
|
||||||
@@ -85,7 +86,7 @@ namespace ICD.Common.Utils
|
|||||||
/// Constructor.
|
/// Constructor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="uri"></param>
|
/// <param name="uri"></param>
|
||||||
public IcdUriBuilder(Uri uri)
|
public IcdUriBuilder([NotNull] Uri uri)
|
||||||
{
|
{
|
||||||
if (uri == null)
|
if (uri == null)
|
||||||
throw new ArgumentNullException("uri");
|
throw new ArgumentNullException("uri");
|
||||||
|
|||||||
Reference in New Issue
Block a user