More working tests.
[castle.git] / Facilities / FactorySupport / configfactorywithparameters.xml
blob6e6b1cc6b71c57e85a134bc2456efc64a9ce3ab4
1 <?xml version="1.0" encoding="utf-8" ?> 
3 <configuration>
5         <facilities>
6         
7                 <facility 
8                         id="factorysupport" 
9                         type="Castle.Facilities.FactorySupport.FactorySupportFacility, Castle.MicroKernel" />
10         
11         </facilities>
13         <components>
15                 <component id="mycompfactory" 
16                         type="Castle.Facilities.FactorySupport.Tests.Components.MyCompFactory2, Castle.Facilities.FactorySupport.Tests">
17                 </component>
19                 <component id="mycomp" 
20                         type="Castle.Facilities.FactorySupport.Tests.Components.MyComp, Castle.Facilities.FactorySupport.Tests"
21                         factoryId="mycompfactory" factoryCreate="Create">
23                         <parameters>
24                                 <storeName>MyStore</storeName>
25                                 <props>
26                                         <dictionary>
27                                                 <entry key="key1">item1</entry>
28                                                 <entry key="key2">item2</entry>
29                                         </dictionary>
30                                 </props>
31                         </parameters>
32                                                 
33                 </component>
35         </components>
37 </configuration>