While using Microsoft Built In Dependency Injection, need of one feature often comes up:
Passing Parameters to Resolve during runtime.
Autofac provides this as in the example below.
var reader = scope.Resolve<ConfigReader>(new NamedParameter("configSectionName", "sectionName"));
In my opinion, this one feature will make the container complete in many aspects to use for any application that we create.
Is it still available and I am missing it how to use it, Or can it be included in some future release Or is there any work around to implement this?
Thanks
While using Microsoft Built In Dependency Injection, need of one feature often comes up:
Passing Parameters to Resolve during runtime.
Autofac provides this as in the example below.
var reader = scope.Resolve<ConfigReader>(new NamedParameter("configSectionName", "sectionName"));In my opinion, this one feature will make the container complete in many aspects to use for any application that we create.
Is it still available and I am missing it how to use it, Or can it be included in some future release Or is there any work around to implement this?
Thanks