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