mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-14 04:05:04 +00:00
refactor: make instantiaton abstract
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user