comparison Implab.Playground/data/sample.xml @ 278:6691aff01de1 v3

Implab: added XmlDefaultSeializer (SerializersPool is now obsolete) Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API
author cin
date Thu, 03 May 2018 09:59:44 +0300
parents 963b17c275be
children
comparison
equal deleted inserted replaced
277:963b17c275be 278:6691aff01de1
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd"> 2 <container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd">
3 <namespace name="System"/> 3 <namespace name="System"/>
4 <namespace name="System.Collections.Generic"/> 4 <namespace name="System.Collections.Generic"/>
5 <namespace name="Implab.Components"/>
5 <namespace name="Implab.Playground"/> 6 <namespace name="Implab.Playground"/>
6 7
7 <!-- foo1 --> 8 <!-- foo1 -->
8 <register name="foo1" type="Foo"> 9 <register name="foo1" type="Foo">
9 <property name="Name"> 10 <property name="Name">
34 <method name="SetInstance"> 35 <method name="SetInstance">
35 <dependency type="T"/> 36 <dependency type="T"/>
36 </method> 37 </method>
37 <method name="AddRange"> 38 <method name="AddRange">
38 <array itemsType="T"> 39 <array itemsType="T">
39 <dependency name="foo2"/> 40 <dependency name="foo2-bar"/>
40 </array> 41 </array>
41 </method> 42 </method>
42 </register> 43 </register>
43 44
44 <register type="List{}"> 45 <register type="List{}">
59 </serialized> 60 </serialized>
60 61
61 <value name="connection1" type="String"><![CDATA[Connect me <here>!]]></value> 62 <value name="connection1" type="String"><![CDATA[Connect me <here>!]]></value>
62 <value name="name1" type="String" value="Hello!"/> 63 <value name="name1" type="String" value="Hello!"/>
63 64
64 <factory name="foo3" type="FooFactory"> 65 <factory name="foo3" type="IFactory{Foo}" mapTo="FooFactory">
65 <parameter name="FooName"><![CDATA[Wired "" objecty <> name @#$%^&]]></parameter> 66 <property name="Connection">
67 <value><![CDATA[Wired "" objecty <> name @#$%^&]]></value>
68 </property>
69 <property name="UseSsl">
70 <value>false</value>
71 </property>
66 </factory> 72 </factory>
67 73
68 </container> 74 </container>