267
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd">
|
270
|
3 <namespace name="Implab.Playground"/>
|
|
4
|
267
|
5 <!-- foo1 -->
|
269
|
6 <register name="foo1" type="Foo">
|
270
|
7 <property name="Name">
|
|
8 <value>FOO!</value>
|
|
9 </property>
|
267
|
10 </register>
|
|
11
|
|
12 <!-- foo2 -->
|
269
|
13 <register name="foo2" type="Foo">
|
270
|
14 <property name="Name">
|
|
15 <value>GOOD</value>
|
|
16 </property>
|
|
17 <property name="IntValue">
|
|
18 <value>2</value>
|
|
19 </property>
|
267
|
20 </register>
|
270
|
21
|
|
22 <register type="Foo">
|
|
23 </register>
|
|
24
|
|
25 <register type="Container{}">
|
|
26 <constructor/>
|
|
27 <method name="SetInstance">
|
|
28 <dependency type="T"/>
|
|
29 </method>
|
|
30 </register>
|
|
31
|
|
32 <register type="Container{String}">
|
|
33 <property name="Instance">
|
|
34 <value>Hello!</value>
|
|
35 </property>
|
|
36 </register>
|
|
37
|
267
|
38 </container> |