sample.xml
67 lines
| 1.8 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
|
r277 | <namespace name="System.Collections.Generic"/> | |
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"> | |||
cin
|
r277 | <method name="AddRange"> | |
<array itemsType="Foo"> | |||
<dependency name="foo2"/> | |||
</array> | |||
</method> | |||
cin
|
r270 | </register> | |
cin
|
r273 | <register type="IContainer{}" mapTo="Container{}"> | |
cin
|
r270 | <constructor/> | |
<method name="SetInstance"> | |||
<dependency type="T"/> | |||
</method> | |||
cin
|
r277 | <method name="AddRange"> | |
<array itemsType="T"> | |||
<dependency name="foo2"/> | |||
</array> | |||
</method> | |||
</register> | |||
<register type="List{}"> | |||
<constructor /> | |||
cin
|
r270 | </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"> | |
cin
|
r274 | <Bar xmlns="" id="1"> | |
cin
|
r273 | <Name>Baaar</Name> | |
</Bar> | |||
</serialized> | |||
<value name="connection1" type="String"><![CDATA[Connect me <here>!]]></value> | |||
<value name="name1" type="String" value="Hello!"/> | |||
cin
|
r277 | <factory name="foo3" type="FooFactory"> | |
<parameter name="FooName"><![CDATA[Wired "" objecty <> name @#$%^&]]></parameter> | |||
</factory> | |||
cin
|
r267 | </container> |