Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I configure an array of non-primitive objects as an argument to a constructor function?

0
Posted

How do I configure an array of non-primitive objects as an argument to a constructor function?

0

StructureMap supports a constructor argument that is an array of non-primitive objects. The child type construction must be controlled by StructureMap. The child members of the array itself are configured in the config file as embedded instances themselves within the proper element for the child member. The same rules apply for the configuration as for a single non-primitive child member. The actual node name of the array members is actually arbitrary.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.