Hi to everyone!
First and foremost, I'm new to the whole Windsor Container so, I beg
your pardon if the question is a dumb one :)
I have the following situation:
container = new WindsorContainer();
container.AddComponent<IApplicationFacade,ApplicationFacade>
("applicationFacade");
Now, from the documentation, I understand that the "applicationFacade"
is registered to the container as a Singleton.
So I expect that upon calling multiple times:
container.Resolve<IApplicationFacade>("applicationFacade")
Only the very first time the ApplicationFacade's constructor gets
called. Instead it gets called each and every time.
What is it that I'm doing the wrong way?
Thansk in advance for your help.
Regards,
Carmine
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---