mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
chore: formatting
This commit is contained in:
parent
edb5534b9d
commit
02e6fe9f8c
1 changed files with 4 additions and 4 deletions
|
|
@ -223,12 +223,12 @@ namespace ICD.Common.Utils
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
if (parameters.Length == 0)
|
if (parameters.Length == 0)
|
||||||
return Activator.CreateInstance(type);
|
return Activator.CreateInstance(type);
|
||||||
|
|
||||||
|
ConstructorInfo constructor = GetConstructor(type, parameters);
|
||||||
|
|
||||||
ConstructorInfo constructor = GetConstructor(type, parameters);
|
|
||||||
|
|
||||||
|
|
||||||
return constructor.Invoke(parameters);
|
return constructor.Invoke(parameters);
|
||||||
}
|
}
|
||||||
catch (TypeLoadException e)
|
catch (TypeLoadException e)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue