mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
refactor: make instantiaton abstract
This commit is contained in:
parent
d41aa6d111
commit
09603b0537
1 changed files with 1 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue