开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜