mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
chore: formatting
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user