You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Castle Project Users
My shop has gotten into the habit of registering most all dependencies
using Func<X> so that instantiation of the objects will occur only
when the object is first called on. Is there any way register all
default interfaces as Func<X> using the fluent interface? Personally
I think the usage of the pattern may be a result of other bad coding
practices (expensive item instantiation?) and maybe I should be trying
to move them away from the pattern. But just thought I'd ask the
question.. if I can do something like below but have my dependencies
resolve as Func<X>?