mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
Merge branch 'dev' into MetLife_v5.3
This commit is contained in:
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [5.0.0] - 2018-09-14
|
||||||
|
### Added
|
||||||
|
- Stopwatch profiling methods
|
||||||
|
- Attempt to interpret old assembly naming convention when parsing types
|
||||||
|
- Added RegexUtils
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Significant performance improvements across the board
|
||||||
|
|
||||||
## [4.0.0] - 2018-07-19
|
## [4.0.0] - 2018-07-19
|
||||||
### Added
|
### Added
|
||||||
- Added extension method for getting type name without trailing generic info
|
- Added extension method for getting type name without trailing generic info
|
||||||
|
|||||||
@@ -91,10 +91,13 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
}
|
}
|
||||||
sigBuilder.Append("this ");
|
sigBuilder.Append("this ");
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (secondParam)
|
else if (secondParam)
|
||||||
|
{
|
||||||
secondParam = false;
|
secondParam = false;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
sigBuilder.Append(", ");
|
sigBuilder.Append(", ");
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ICD.Common.Properties;
|
using ICD.Common.Properties;
|
||||||
#if SIMPLSHARP
|
#if SIMPLSHARP
|
||||||
using Crestron.SimplSharp;
|
using Crestron.SimplSharp;
|
||||||
|
#else
|
||||||
|
using System.Diagnostics;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace ICD.Common.Utils
|
namespace ICD.Common.Utils
|
||||||
|
|||||||
@@ -10,10 +10,7 @@ namespace ICD.Common.Utils.Json
|
|||||||
/// Creates a new instance of T.
|
/// Creates a new instance of T.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
protected virtual T Instantiate()
|
protected abstract T Instantiate();
|
||||||
{
|
|
||||||
return ReflectionUtils.CreateInstance<T>();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Writes the JSON representation of the object.
|
/// Writes the JSON representation of the object.
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ using System.Reflection;
|
|||||||
[assembly: AssemblyCompany("ICD Systems")]
|
[assembly: AssemblyCompany("ICD Systems")]
|
||||||
[assembly: AssemblyProduct("ICD.Common.Utils")]
|
[assembly: AssemblyProduct("ICD.Common.Utils")]
|
||||||
[assembly: AssemblyCopyright("Copyright © ICD Systems 2018")]
|
[assembly: AssemblyCopyright("Copyright © ICD Systems 2018")]
|
||||||
[assembly: AssemblyVersion("4.0.0.0")]
|
[assembly: AssemblyVersion("5.0.0.0")]
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ICD.Common.Properties;
|
using ICD.Common.Properties;
|
||||||
using ICD.Common.Utils.Collections;
|
using ICD.Common.Utils.Collections;
|
||||||
using ICD.Common.Utils.Extensions;
|
|
||||||
|
|
||||||
namespace ICD.Common.Utils
|
namespace ICD.Common.Utils
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using ICD.Common.Utils.EventArguments;
|
|
||||||
using ICD.Common.Utils.Extensions;
|
using ICD.Common.Utils.Extensions;
|
||||||
|
|
||||||
namespace ICD.Common.Utils.Services.Scheduler
|
namespace ICD.Common.Utils.Services.Scheduler
|
||||||
|
|||||||
Reference in New Issue
Block a user