configuration/tests/ConfigFiles/InjectingGenerics.config

24 строки
811 B
Plaintext
Исходник Обычный вид История

2017-10-06 07:37:30 +03:00
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
2017-10-07 00:41:22 +03:00
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Unity.Configuration"/>
2017-10-06 07:37:30 +03:00
</configSections>
<unity>
<namespace name="Microsoft.Practices.Unity.Configuration.Tests.TestObjects" />
2017-10-07 00:41:22 +03:00
<assembly name="Configuration.Tests" />
2017-10-06 07:37:30 +03:00
<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>