orchardcms - How to inject dependency with parameter in Orchard CMS -
i have communication service ip address constructor parameter indicate connect.
i want know if can inject service controller different ip address @ run time.
all of injected service used has parameterless constructor @ least. know autofac can resolve type using typedparameter or namedparameter pass run time parameter constructor. can't inject autofac container(icontainer) orchardcms service or controller.
dependency injection injecting behavior, not data. job configuration. should @ example of existing orchard feature uses configuration.
Comments
Post a Comment