sample.xml
73 lines
| 2.0 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
|
r278 | <namespace name="Implab.Components"/> | |
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"> | |||
cin
|
r278 | <dependency name="foo2-bar"/> | |
cin
|
r277 | </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
|
r278 | <factory name="foo3" type="IFactory{Foo}" mapTo="FooFactory"> | |
<property name="Connection"> | |||
<value><![CDATA[Wired "" objecty <> name @#$%^&]]></value> | |||
</property> | |||
<property name="UseSsl"> | |||
<value>false</value> | |||
</property> | |||
cin
|
r277 | </factory> | |
cin
|
r267 | </container> |