diff 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
line wrap: on
line diff
--- a/Implab.Playground/data/sample.xml	Sat Apr 28 18:48:09 2018 +0300
+++ b/Implab.Playground/data/sample.xml	Thu May 03 09:59:44 2018 +0300
@@ -2,6 +2,7 @@
 <container xmlns="http://implab.org/schemas/servicehost/unity.v1.xsd">
     <namespace name="System"/>
     <namespace name="System.Collections.Generic"/>
+    <namespace name="Implab.Components"/>
     <namespace name="Implab.Playground"/>
     
     <!-- foo1 -->
@@ -36,7 +37,7 @@
         </method>
         <method name="AddRange">
             <array itemsType="T">
-                <dependency name="foo2"/>
+                <dependency name="foo2-bar"/>
             </array>
         </method>
     </register>
@@ -61,8 +62,13 @@
     <value name="connection1" type="String"><![CDATA[Connect me <here>!]]></value>
     <value name="name1" type="String" value="Hello!"/>
 
-    <factory name="foo3" type="FooFactory">
-        <parameter name="FooName"><![CDATA[Wired "" objecty <> name @#$%^&]]></parameter>
+    <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>
     </factory>
 
 </container>
\ No newline at end of file