Mercurial > pub > ImplabNet
view Implab.Playground/data/sample.xml @ 273:79110a16cab7 v3
Working on Unity xml configuration: Refactoring in progress
author | cin |
---|---|
date | Thu, 26 Apr 2018 19:35:01 +0300 |
parents | 9d1cca834b05 |
children | 22629bf26121 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd"> <namespace name="System"/> <namespace name="Implab.Playground"/> <!-- foo1 --> <register name="foo1" type="Foo"> <property name="Name"> <value>FOO!</value> </property> </register> <!-- foo2 --> <register name="foo2" type="Foo"> <property name="Name"> <value>GOOD</value> </property> <property name="IntValue"> <value>2</value> </property> </register> <register type="Foo"> </register> <register type="IContainer{}" mapTo="Container{}"> <constructor/> <method name="SetInstance"> <dependency type="T"/> </method> </register> <register type="IContainer{String}" mapTo="Container{String}"> <constructor/> <method name="SetInstance"> <dependency type="String" name="name1"/> </method> </register> <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!"/> </container>