configuration/tests/ConfigFiles/InjectingGenerics.config

24 строки
811 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Unity.Configuration"/>
</configSections>
<unity>
<namespace name="Microsoft.Practices.Unity.Configuration.Tests.TestObjects" />
<assembly name="Configuration.Tests" />
<container>
<instance type="string" value="a string" />
<instance type="int" value="17" />
<register type="GenericObjectWithConstructorDependency`1" name="basic">
<constructor>
<!-- little back compat test - genericParameterName is now ignored -->
<param name="value" genericParameterName="NoSuchParameter"/>
</constructor>
</register>
</container>
</unity>
</configuration>