sample.xml
48 lines
| 1.3 KiB
| application/xml
|
XmlLexer
cin
|
r267 | <?xml version="1.0" encoding="UTF-8"?> | |
<container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd"> | |||
cin
|
r272 | <namespace name="System"/> | |
cin
|
r270 | <namespace name="Implab.Playground"/> | |
cin
|
r272 | ||
cin
|
r267 | <!-- foo1 --> | |
cin
|
r269 | <register name="foo1" type="Foo"> | |
cin
|
r270 | <property name="Name"> | |
<value>FOO!</value> | |||
</property> | |||
cin
|
r267 | </register> | |
<!-- foo2 --> | |||
cin
|
r269 | <register name="foo2" type="Foo"> | |
cin
|
r270 | <property name="Name"> | |
<value>GOOD</value> | |||
</property> | |||
<property name="IntValue"> | |||
<value>2</value> | |||
</property> | |||
cin
|
r267 | </register> | |
cin
|
r270 | ||
<register type="Foo"> | |||
</register> | |||
cin
|
r273 | <register type="IContainer{}" mapTo="Container{}"> | |
cin
|
r270 | <constructor/> | |
<method name="SetInstance"> | |||
<dependency type="T"/> | |||
</method> | |||
</register> | |||
cin
|
r273 | <register type="IContainer{String}" mapTo="Container{String}"> | |
cin
|
r272 | <constructor/> | |
<method name="SetInstance"> | |||
cin
|
r273 | <dependency type="String" name="name1"/> | |
cin
|
r272 | </method> | |
cin
|
r270 | </register> | |
cin
|
r273 | <serialized type="Foo+Bar"> | |
<Bar id="1"> | |||
<Name>Baaar</Name> | |||
</Bar> | |||
</serialized> | |||
<value name="connection1" type="String"><![CDATA[Connect me <here>!]]></value> | |||
<value name="name1" type="String" value="Hello!"/> | |||
cin
|
r267 | </container> |