xml - How to pass an object to the constructor through castle windsor? -


I am creating an object through the castle Windsor and my constructor accepts a custom type of argument. How can I pass it on my object?

Public class ArgumentClass {int value1; String value 2; } Public Interface IInterface {}

Public Class CClass: IInterface {Public CClass {ArgumentClass arg} {}}

All configurations are defined in the XML file and I also want to define logic in XML so there is no programming!

Have you seen?


Comments