From 09603b0537f4dc4f9c5feae91341f2fcf85aa360 Mon Sep 17 00:00:00 2001 From: Jack Kanarish Date: Thu, 13 Sep 2018 14:21:59 -0400 Subject: [PATCH] refactor: make instantiaton abstract --- ICD.Common.Utils/Xml/AbstractGenericXmlConverter.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ICD.Common.Utils/Xml/AbstractGenericXmlConverter.cs b/ICD.Common.Utils/Xml/AbstractGenericXmlConverter.cs index 8e0a6a4..e8fafcf 100644 --- a/ICD.Common.Utils/Xml/AbstractGenericXmlConverter.cs +++ b/ICD.Common.Utils/Xml/AbstractGenericXmlConverter.cs @@ -14,10 +14,7 @@ namespace ICD.Common.Utils.Xml /// Creates a new instance of T. /// /// - protected virtual T Instantiate() - { - return ReflectionUtils.CreateInstance(); - } + protected abstract T Instantiate(); /// /// Writes the XML representation of the object.