diff 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 diff
--- a/Implab.Playground/data/sample.xml	Thu Apr 26 03:14:54 2018 +0300
+++ b/Implab.Playground/data/sample.xml	Thu Apr 26 19:35:01 2018 +0300
@@ -23,18 +23,27 @@
     <register type="Foo">
     </register>
 
-    <register provides="IContainer{}" type="Container{}">
+    <register type="IContainer{}" mapTo="Container{}">
         <constructor/>
         <method name="SetInstance">
             <dependency type="T"/>
         </method>
     </register>
 
-    <register provides="IContainer{String}" type="Container{String}">
+    <register type="IContainer{String}" mapTo="Container{String}">
         <constructor/>
         <method name="SetInstance">
-            <value type="String">Hello!</value>
+            <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>
\ No newline at end of file