I am using Microsoft.Extensions.DependencyInjection version 5.0.1 nuget package
Here\'s an example. It\'s a UtilityService with a large number (over 100) methods: