When Unity injects dependencies

Apr 4, 2008 at 4:34 PM
Hello,

If I've got a type registered in a container as singleton and this type has several dependencies to be injected (say properties marked with Dependency attribute), when all these dependencies are going to be resolved and injected? Only once at the first time singleton is requested and created within a container or each time I ask the container for this singleton?

-
Thanks, Leonid
Apr 4, 2008 at 5:08 PM
The first and only time the singleton is built.
Apr 5, 2008 at 8:58 AM
Am I right then that the only way to re-inject those dependencies again is to get this singleton from a container and call container.BuildUp() over it? or maybe re-register it within a container again.