Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / InversionOfControl / Castle.Windsor.Tests / Configuration2 / Properties / config_with_properties_and_defines2.xml
blob6d0c97eda40792215852c9375d625bc0c7c1e366
1 <?xml version="1.0" encoding="utf-8" ?> \r
2 <configuration>\r
3 \r
4         <define flag="OK"/>\r
5 \r
6         <properties>\r
7           <prop0>prop0 value</prop0>\r
8         </properties>\r
9 \r
10         <if defined="OK">\r
11           <properties>\r
12                 <prop1>prop1 value</prop1>\r
13                 <prop2>prop2 value</prop2>\r
14           </properties>\r
15         </if>\r
17         <facilities>\r
18         \r
19                 <facility id="facility1" >\r
20                         <item>#{prop1}</item>\r
21                 </facility>\r
23                 <facility id="facility2" >\r
24                         <item value="#{prop2}"/>\r
25                 </facility>\r
27                 <facility id="facility3">\r
28                         <param1 attr="#{prop1}">#{prop2}</param1>\r
29                         <param2 attr="#{prop2}">#{prop1}</param2>\r
30                         <param3 attr="param3 attr"><value attr="param3 value attr">param3 value</value></param3>\r
31                 </facility>     \r
32         </facilities>\r
34         <components>\r
35         \r
36                 <component id="component1">\r
37                         <item>#{prop1}</item>\r
38                 </component>\r
39                 \r
40                 <component id="component2">\r
41                         <item value="#{prop2}"/>\r
42                 </component>\r
43                 \r
44         </components>\r
46 </configuration>\r