annotate Implab.Playground/data/sample.xml @ 270:ade80d94dfb5 v3

Working on Unity container xml configuration
author cin
date Wed, 25 Apr 2018 04:44:40 +0300
parents ff581cff7003
children 9d1cca834b05
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
2 <container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd">
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
3 <namespace name="Implab.Playground"/>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
4
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
5 <!-- foo1 -->
269
ff581cff7003 Working on Unity container xml configuration
cin
parents: 267
diff changeset
6 <register name="foo1" type="Foo">
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
7 <property name="Name">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
8 <value>FOO!</value>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
9 </property>
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
10 </register>
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
11
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
12 <!-- foo2 -->
269
ff581cff7003 Working on Unity container xml configuration
cin
parents: 267
diff changeset
13 <register name="foo2" type="Foo">
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
14 <property name="Name">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
15 <value>GOOD</value>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
16 </property>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
17 <property name="IntValue">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
18 <value>2</value>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
19 </property>
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
20 </register>
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
21
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
22 <register type="Foo">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
23 </register>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
24
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
25 <register type="Container{}">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
26 <constructor/>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
27 <method name="SetInstance">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
28 <dependency type="T"/>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
29 </method>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
30 </register>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
31
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
32 <register type="Container{String}">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
33 <property name="Instance">
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
34 <value>Hello!</value>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
35 </property>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
36 </register>
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
37
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
38 </container>