##// END OF EJS Templates
Fixed Safe.DisposeCollection NullReferenceException...
Fixed Safe.DisposeCollection NullReferenceException Added logs to ContainerBuilder

File last commit:

r289:95896f882995 v3.0.14 v3
r292:807f0bc35f40 v3
Show More
basic.xml
73 lines | 2.0 KiB | application/xml | XmlLexer
<?xml version="1.0" encoding="UTF-8"?>
<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.ServiceHost.Test.Mock"/>
<!-- Default FooService -->
<register type="FooService{}">
<property name="Name">
<value>I'm default!</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">
<method name="AddRange">
<array itemsType="Foo">
<dependency name="foo2"/>
</array>
</method>
</register>
<register type="IContainer{}" mapTo="Container{}">
<constructor/>
<method name="SetInstance">
<dependency type="T"/>
</method>
<method name="AddRange">
<array itemsType="T">
<dependency name="foo2-bar"/>
</array>
</method>
</register>
<register type="List{}">
<constructor />
</register>
<register type="IContainer{String}" mapTo="Container{String}">
<constructor/>
<method name="SetInstance">
<dependency type="String" name="name1"/>
</method>
</register>
<serialized type="Foo+Bar">
<Bar xmlns="" id="1">
<Name>Baaar</Name>
</Bar>
</serialized>
<value name="connection1" type="String"><![CDATA[Connect me <here>!]]></value>
<value name="name1" type="String" value="Hello!"/>
<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>