perf: Don't use reflection in AbstractGenericJsonConverter

This commit is contained in:
Chris Cameron
2018-09-17 15:52:44 -04:00
parent c83bd04c8f
commit df30585917

View File

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