Configuring Unity Container in Web.config
I am trying to configure Unity with a Type that accepts as input a parameter of type Array:
<type type="IPermissionCheckPlan" mapTo="CompositePlanTeamWorkroomMove" name="MovePlan">
<constructor>
开发者_高级运维 <param name="checks" parameterType="IPermissionCheck" >
<array>
<dependency name="TWR_Move" />
<dependency name="TWR_Copy" />
</array>
</param>
</constructor>
</type>
I am getting an exception when loading the container saying "Unrecognized element 'constructor'".
I am using Unity 2.0.
Regards
精彩评论