Hi, On Apr 7, 8:45 am, "Henrik Feldt" <[email protected]> wrote: > Kernel.Register(Component.For<IMyService>().ImplementedBy<MyServiceImpl>().P > arameters(Parameter.ForKey("keyName").Eq(somevalue))); >
I know how it works, but that's not what I need. Using xml config you can add Properties to the configuration and that retrive property value via poroperti id. For various reasons I need to do the same thing via code. What I have is a plugin based app (something more complex but the base concept is plugin model) during the app/plugin startup process everyone is responsibile to inject his configuration in the container and in some cases I need to simply inject properties that can then be used elsewhere. TIA, Best regards .m --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
