In Microsoft.Extensions.DependencyInjection does not support property injection by default therefore you should use Autofac,Castle etc.
This package allows you to do so simply
Install package from nuget https://www.nuget.org/packages/DotnetPropertyInjection.Lib/1.0.0