refactor: make instantiaton abstract

This commit is contained in:
Jack Kanarish
2018-09-13 14:21:59 -04:00
parent d41aa6d111
commit 09603b0537

View File

@@ -14,10 +14,7 @@ namespace ICD.Common.Utils.Xml
/// Creates a new instance of T.
/// </summary>
/// <returns></returns>
protected virtual T Instantiate()
{
return ReflectionUtils.CreateInstance<T>();
}
protected abstract T Instantiate();
/// <summary>
/// Writes the XML representation of the object.