Dim wc As New WindsorContainer
wc.AddFacility(Of TypedFactoryFacility)()
wc.AddFacility(Of TypedFactoryFacility)()
Error
There is a component already registered for the given key
Castle.TypedFactory.Interceptor
Castle.MicroKernel.ComponentRegistrationException
Message: There is a component already registered for the given key
Castle.TypedFactory.Interceptor
Is there a method that will tell me if I have already installed a container?
I am currently using the following:
Dim wc As New WindsorContainer
wc.AddFacility(Of TypedFactoryFacility)()
Dim found = wc.Kernel.GetFacilities().Any(Function(f) TypeOf f Is
TypedFactoryFacility)
-d
--
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.