mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +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]
|
||||
|
||||
### 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 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
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Linq;
|
||||
#endif
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using ICD.Common.Properties;
|
||||
using ICD.Common.Utils.Extensions;
|
||||
|
||||
namespace ICD.Common.Utils
|
||||
@@ -85,7 +86,7 @@ namespace ICD.Common.Utils
|
||||
/// Constructor.
|
||||
/// </summary>
|
||||
/// <param name="uri"></param>
|
||||
public IcdUriBuilder(Uri uri)
|
||||
public IcdUriBuilder([NotNull] Uri uri)
|
||||
{
|
||||
if (uri == null)
|
||||
throw new ArgumentNullException("uri");
|
||||
|
||||
Reference in New Issue
Block a user