This project is read-only.

Static constructor dependency injection

Topics: Writing modules
Jul 21, 2011 at 9:45 PM

Is it possible to inject IDependencies in to a static class via it's static constructor? I am sure it is possible with Autofac but cannot figure out how to do it in Orchard!

Jul 21, 2011 at 11:58 PM

I don't think you can do that in Orchard at the moment, no. What's your scenario?