feat: Adding default implementation for AbstractGenericXmlConverter Instantiate method

This commit is contained in:
Laura Gomez
2019-09-16 15:15:35 -04:00
parent 11004085c5
commit aae8bc5323

View File

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