I recently moved a project from Castle Windsor 2.5.x to 3. I have a
number of instances where I use RegisterCustomDependencies (method on
IKernel), but the method appears to be gone in 3.0. Was this method
removed for a particular reason?
If so, what is the proscribed way to add simple dependencies? For
example, I have a number of places where I need to pass a string to a
component (see below). I know that I could create a new component for
the string parameter, but this seems like overkill when I just need a
simple string, and it isn't reused.
public class Foo {
public Foo(IComponent component, string param){}
}
Thanks,
Erick
--
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.