mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +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.
|
/// 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 XML representation of the object.
|
/// Writes the XML representation of the object.
|
||||||
|
|||||||
Reference in New Issue
Block a user