For custom types, you need to provide a type converter to handle the conversion, however the “Type” is supported out of the box (if you look at it here on the Castleproject website ) and should “just work”, i.e. So:
<component id="myServer" service="SomeNameSpace.ITypeUser, SomeAssembly" type="SomeNameSpace.TypeUser, SomeLib">
<parameters>
<usedType>SomeNameSpace.MyOtherType, SomeAssembly</usedType>
</parameters>
</component>
source
share