simple.services.xml
62 lines
| 1.7 KiB
| application/xml
|
XmlLexer
cin
|
r289 | <?xml version="1.0"?> | |
<container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd"> | |||
<namespace name="System"/> | |||
<namespace name="System.Collections.Generic"/> | |||
<namespace name="Implab.Components"/> | |||
<namespace name="Implab.ServiceHost.Test.Mock"/> | |||
<register name="Baz1" type="Baz"> | |||
<property name="Numbers"> | |||
<array> | |||
<value>1</value> | |||
<value>2</value> | |||
<value>3</value> | |||
</array> | |||
</property> | |||
</register> | |||
<register type="Baz"> | |||
<property name="Nuts"> | |||
<array> | |||
<dependency/> | |||
<dependency name="Big"/> | |||
<dependency name="Big"/> | |||
<dependency name="Small"/> | |||
<dependency name="Mid"/> | |||
</array> | |||
</property> | |||
</register> | |||
<register name="Big" type="Baz+Nut"> | |||
<property name="Size"> | |||
<value>5</value> | |||
</property> | |||
</register> | |||
<register name="Mid" type="Baz+Nut"> | |||
<property name="Size"> | |||
<value>3</value> | |||
</property> | |||
</register> | |||
<register name="Small" type="Baz+Nut"> | |||
<property name="Size"> | |||
<value>1</value> | |||
</property> | |||
</register> | |||
<register type="Baz+Nut"> | |||
<property name="Size"> | |||
<value>2</value> | |||
</property> | |||
</register> | |||
<factory type="BazFactory"> | |||
<provides name="Baz2" type="Baz"/> | |||
</factory> | |||
<factory name="Baz3" type="BazFactory"> | |||
<property name="IdGenerator"> | |||
<dependency/> | |||
</property> | |||
</factory> | |||
<factory type="GuidFactory"> | |||
<singleton/> | |||
</factory> | |||
</container> |