Property Injection in Microsoft.Extensions.DependencyInjection
To fix the issue you can do You'd use the factory overload(s) of
AddSingleton, AddScoped, and AddTransient. I'm not sure what scope
IFileSystemInjection should be in, but it sounds like something that could
be a singleton. If not, change the method y
Date : December 23 2020, 09:01 PM , By : Reiner