I\'m acutally using the Microsoft.Extensions.DependencyInjection library (.NET Core 3.1) and I\'m trying to find a way to create instances based on the Type that is being resolv