mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
perf: Don't use reflection in AbstractGenericJsonConverter
This commit is contained in:
parent
c83bd04c8f
commit
df30585917
1 changed files with 1 additions and 4 deletions
|
|
@ -10,10 +10,7 @@ namespace ICD.Common.Utils.Json
|
|||
/// Creates a new instance of T.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected virtual T Instantiate()
|
||||
{
|
||||
return ReflectionUtils.CreateInstance<T>();
|
||||
}
|
||||
protected abstract T Instantiate();
|
||||
|
||||
/// <summary>
|
||||
/// Writes the JSON representation of the object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue