feat: added not null tag to ICDUriBuilder constructor that takes a Uri as an argument.

This commit is contained in:
Austin Noska
2020-01-06 12:38:09 -05:00
committed by Chris Cameron
parent d1ec8a45d1
commit 11c4d10a51
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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");