How do I configure Castle Windsor to use an Initialize
method for a static helper class when requesting an object? I am trying to add some extension methods HtmlHelper
so it has to be a static class and method. My HtmlHelper
extensions depend on a IHtmlHelpersService
that is configured with Castle Windsor already. I am using Convention Over Configuration.
Edit
I think what I want is a ComponentActivator
or the UsingFactory
. Am I going down a dead end that way?