diff --git a/Engine.Core/Factory/TypeFactory.cs b/Engine.Core/Factory/TypeFactory.cs index 8798642..dd3a25b 100644 --- a/Engine.Core/Factory/TypeFactory.cs +++ b/Engine.Core/Factory/TypeFactory.cs @@ -16,6 +16,9 @@ public static class TypeFactory throw new Exception(); } + public static T Get(string typeName, params object?[]? args) where T : class + => Get(Get(typeName), args); + public static T Get(Type type, params object?[]? args) where T : class { T? result;