Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed merge issues

  • Loading branch information...
commit 55bdea2ac4723b5f2a8ac970cce3db115047e0d2 2 parents a8b8d89 + 4f4bbe8
Craig Neuwirt authored

Showing 193 changed files with 40,318 additions and 39,133 deletions. Show diff stats Hide diff stats

  1. +63 63 Rhino.Commons-vs2008.sln
  2. +4 4 Rhino.Commons.ActiveRecord/ForTesting/ActiveRecordEmbeddedDBTestFixtureBase.cs
  3. +4 4 Rhino.Commons.ActiveRecord/ForTesting/ActiveRecordInMemoryTestFixtureBase.cs
  4. +159 149 Rhino.Commons.ActiveRecord/Rhino.Commons.ActiveRecord-vs2008.csproj
  5. +35 32 Rhino.Commons.Binsor/AbstractConfigurationRunner.cs
  6. +6 13 Rhino.Commons.Binsor/BinsorCompilerStep.cs
  7. +11 20 Rhino.Commons.Binsor/BinsorGlobalMethods.cs
  8. +6 6 Rhino.Commons.Binsor/BooComponentInstaller.cs
  9. +57 158 Rhino.Commons.Binsor/BooReader.cs
  10. +21 45 Rhino.Commons.Binsor/Component.cs
  11. +15 18 Rhino.Commons.Binsor/ComponentReference.cs
  12. +0 1  Rhino.Commons.Binsor/Configuration/AttributeBuilder.cs
  13. +0 1  Rhino.Commons.Binsor/Configuration/ChildBuilder.cs
  14. +4 5 Rhino.Commons.Binsor/Configuration/ConfigurationHelper.cs
  15. +0 1  Rhino.Commons.Binsor/Configuration/IConfigurationBuilder.cs
  16. +0 1  Rhino.Commons.Binsor/Configuration/IConfigurationFormatter.cs
  17. +5 6 Rhino.Commons.Binsor/Configuration/KeyMapBuilder.cs
  18. +3 5 Rhino.Commons.Binsor/Configuration/KeyValuesBuilder.cs
  19. +2 3 Rhino.Commons.Binsor/Configuration/ListBuilder.cs
  20. +5 3 Rhino.Commons.Binsor/ContainerAdapter.cs
  21. +0 107 Rhino.Commons.Binsor/Extend.cs
  22. +17 7 Rhino.Commons.Binsor/Extensions/AbstractComponentExtension.cs
  23. +0 1  Rhino.Commons.Binsor/Extensions/ConfigurationExtension.cs
  24. +22 20 Rhino.Commons.Binsor/Extensions/EventWireExtension.cs
  25. +40 19 Rhino.Commons.Binsor/Extensions/FactorySupportExtension.cs
  26. +1 2  Rhino.Commons.Binsor/Extensions/InterceptorExtension.cs
  27. +46 17 Rhino.Commons.Binsor/Extensions/LifestyleExtension.cs
  28. +53 0 Rhino.Commons.Binsor/Extensions/OnCreateExtension.cs
  29. +1 1  Rhino.Commons.Binsor/Extensions/ParametersExtension.cs
  30. +11 1 Rhino.Commons.Binsor/Extensions/StartableExtension.cs
  31. +19 21 Rhino.Commons.Binsor/Facility.cs
  32. +0 1  Rhino.Commons.Binsor/IComponentExtension.cs
  33. +35 0 Rhino.Commons.Binsor/IRegisterable.cs
  34. +17 16 Rhino.Commons.Binsor/Installer/BinsorResourceInstaller.cs
  35. +34 15 Rhino.Commons.Binsor/Installer/BinsorScript.cs
  36. +8 7 Rhino.Commons.Binsor/Installer/BinsorScriptInstaller.cs
  37. +23 38 Rhino.Commons.Binsor/Macros/AbstractBinsorMacro.cs
  38. +39 34 Rhino.Commons.Binsor/Macros/BaseBinsorExtensionMacro.cs
  39. +8 18 Rhino.Commons.Binsor/Macros/BaseBinsorToplevelMacro.cs
  40. +2 4 Rhino.Commons.Binsor/Macros/BaseConfigurationMacro.cs
  41. +3 3 Rhino.Commons.Binsor/Macros/ComponentMacro.cs
  42. +1 2  Rhino.Commons.Binsor/Macros/ComponentMethodVisitor.cs
  43. +1 3 Rhino.Commons.Binsor/Macros/ConfigurationMacro.cs
  44. +4 4 Rhino.Commons.Binsor/Macros/ConfigurationNodeVisitor.cs
  45. +59 23 Rhino.Commons.Binsor/Macros/CreateUsingMacro.cs
  46. +0 28 Rhino.Commons.Binsor/Macros/ExtendMacro.cs
  47. +0 1  Rhino.Commons.Binsor/Macros/FacilityMacro.cs
  48. +25 28 Rhino.Commons.Binsor/Macros/HashConfigurationBuilder.cs
  49. +1 1  Rhino.Commons.Binsor/Macros/InterceptorMacro.cs
  50. +28 26 Rhino.Commons.Binsor/Macros/LifestyleMacro.cs
  51. +1 2  Rhino.Commons.Binsor/Macros/MacroHelper.cs
  52. +77 0 Rhino.Commons.Binsor/Macros/OnCreateMacro.cs
  53. +1 3 Rhino.Commons.Binsor/Macros/ParametersMacro.cs
  54. +37 0 Rhino.Commons.Binsor/Macros/RegisterMacro.cs
  55. +1 1  Rhino.Commons.Binsor/Macros/StartMacro.cs
  56. +11 11 Rhino.Commons.Binsor/Macros/WireEventMacro.cs
  57. +45 0 Rhino.Commons.Binsor/RegisterAfterCreation.cs
  58. +0 57 Rhino.Commons.Binsor/RegisterComponentAndFacilitiesAfterCreation.cs
  59. +58 0 Rhino.Commons.Binsor/Registration.cs
  60. +182 152 Rhino.Commons.Binsor/Rhino.Commons.Binsor.csproj
  61. +11 12 Rhino.Commons.Binsor/TransformUnknownReferences.cs
  62. +3 6 Rhino.Commons.Binsor/TypeEnumerable.cs
  63. +119 83 Rhino.Commons.Clr/Rhino.Commons.Clr-vs2008.csproj
  64. +16 17 Rhino.Commons.NHibernate/Facilities/MultipleNHibernateUnitOfWorkFacility.cs
  65. +8 12 Rhino.Commons.NHibernate/Facilities/NHibernateUnitOfWorkFacility.cs
  66. +2 3 Rhino.Commons.NHibernate/Facilities/NHibernateUnitOfWorkFacilityConfig.cs
  67. +13 13 Rhino.Commons.NHibernate/Facilities/RhinoTransactionFacility.cs
  68. +62 62 Rhino.Commons.NHibernate/Properties/Settings.Designer.cs
  69. +207 175 Rhino.Commons.NHibernate/Rhino.Commons.NHibernate-v2008.csproj
  70. +2 4 Rhino.Commons.NHibernate/UnitOfWork/NHibernateUnitOfWorkFactory.cs
  71. +25 25 Rhino.Commons.NHibernate/app.config
  72. +21 6 Rhino.Commons.Test/Binsor/Binsor2TestCase.cs
  73. +8 6 Rhino.Commons.Test/Binsor/BinsorFacilities_TestCase.cs
  74. +3 3 Rhino.Commons.Test/Binsor/BinsorStreamTestCase.cs
  75. +3 3 Rhino.Commons.Test/Binsor/BinsorTestCase.cs
  76. +3 1 Rhino.Commons.Test/Binsor/EmailSender.cs
  77. +1 1  Rhino.Commons.Test/Binsor/Facilities.boo
  78. +3 3 Rhino.Commons.Test/Binsor/FakeInterceptor.cs
  79. +1 0  Rhino.Commons.Test/Binsor/InterceptorTestCase.cs
  80. +3 2 Rhino.Commons.Test/Binsor/UsingAllTypesFixture.cs
  81. +17 7 Rhino.Commons.Test/Binsor/Windsor2.boo
  82. +5 5 Rhino.Commons.Test/Repository/RepositoryTests.cs
  83. +398 384 Rhino.Commons.Test/Rhino.Commons.Test-vs2008.csproj
  84. +15 18 Rhino.Commons.Test/app.config
  85. +182 180 Rhino.Commons/Rhino.Commons-vs2008.csproj
  86. +5 7 Rhino.Commons/RhinoContainer/ConfigurationObjectConverter.cs
  87. +3 2 Rhino.Commons/RhinoContainer/IoC.cs
  88. +30 26 Rhino.Commons/RhinoContainer/RhinoContainer.cs
  89. +5 5 Rhino.Commons/app.config
  90. BIN  SharedLibs/Boo/Boo.Lang.CodeDom.dll
  91. BIN  SharedLibs/Boo/Boo.Lang.Compiler.dll
  92. BIN  SharedLibs/Boo/Boo.Lang.Extensions.dll
  93. BIN  SharedLibs/Boo/Boo.Lang.Interpreter.dll
  94. BIN  SharedLibs/Boo/Boo.Lang.Parser.dll
  95. BIN  SharedLibs/Boo/Boo.Lang.PatternMatching.dll
  96. BIN  SharedLibs/Boo/Boo.Lang.Useful.dll
  97. BIN  SharedLibs/Boo/Boo.Lang.dll
  98. BIN  SharedLibs/Boo/Boo.Microsoft.Build.Tasks.dll
  99. +60 20 SharedLibs/Boo/Boo.Microsoft.Build.targets
  100. BIN  SharedLibs/Boo/Boo.NAnt.Tasks.dll
  101. BIN  SharedLibs/Boo/boo.exe
  102. BIN  SharedLibs/Boo/booc.exe
  103. +9 6 SharedLibs/Boo/booc.exe.config
  104. BIN  SharedLibs/Boo/booi.exe
  105. +9 6 SharedLibs/Boo/booi.exe.config
  106. BIN  SharedLibs/Boo/booish.exe
  107. +9 6 SharedLibs/Boo/booish.exe.config
  108. +5 0 SharedLibs/Boo/update.bat
  109. BIN  SharedLibs/Castle/Castle
  110. BIN  SharedLibs/Castle/Castle.ActiveRecord.Tests.Model.dll
  111. BIN  SharedLibs/Castle/Castle.ActiveRecord.Tests.Model.pdb
  112. +11,770 11,753 SharedLibs/Castle/Castle.ActiveRecord.XML
  113. BIN  SharedLibs/Castle/Castle.ActiveRecord.dll
  114. BIN  SharedLibs/Castle/Castle.ActiveRecord.pdb
  115. BIN  SharedLibs/Castle/Castle.Components.Validator.dll
  116. BIN  SharedLibs/Castle/Castle.Components.Validator.pdb
  117. +3,729 3,752 SharedLibs/Castle/Castle.Components.Validator.xml
  118. BIN  SharedLibs/Castle/Castle.Core.dll
  119. BIN  SharedLibs/Castle/Castle.Core.pdb
  120. +4,749 3,450 SharedLibs/Castle/Castle.Core.xml
  121. +0 693 SharedLibs/Castle/Castle.DynamicProxy.XML
  122. BIN  SharedLibs/Castle/Castle.DynamicProxy.dll
  123. BIN  SharedLibs/Castle/Castle.DynamicProxy.pdb
  124. +0 1,471 SharedLibs/Castle/Castle.DynamicProxy2.xml
  125. BIN  SharedLibs/Castle/Castle.Facilities.ActiveRecordIntegration.dll
  126. BIN  SharedLibs/Castle/Castle.Facilities.ActiveRecordIntegration.pdb
  127. +1,043 1,022 SharedLibs/Castle/Castle.Facilities.ActiveRecordIntegration.xml
  128. BIN  SharedLibs/Castle/Castle.Facilities.AutoTx.dll
  129. BIN  SharedLibs/Castle/Castle.Facilities.AutoTx.pdb
  130. +198 0 SharedLibs/Castle/Castle.Facilities.AutoTx.xml
  131. +0 131 SharedLibs/Castle/Castle.Facilities.AutomaticTransactionManagement.xml
  132. BIN  SharedLibs/Castle/Castle.Facilities.EventWiring.dll
  133. BIN  SharedLibs/Castle/Castle.Facilities.EventWiring.pdb
  134. BIN  SharedLibs/Castle/Castle.Facilities.FactorySupport.dll
  135. BIN  SharedLibs/Castle/Castle.Facilities.FactorySupport.pdb
  136. BIN  SharedLibs/Castle/Castle.Facilities.Logging.dll
  137. BIN  SharedLibs/Castle/Castle.Facilities.Logging.pdb
  138. BIN  SharedLibs/Castle/Castle.Services.Logging.Log4netIntegration.dll
  139. BIN  SharedLibs/Castle/Castle.Services.Transaction.dll
  140. BIN  SharedLibs/Castle/Castle.Services.Transaction.pdb
  141. +1,586 445 SharedLibs/Castle/Castle.Services.Transaction.xml
  142. BIN  SharedLibs/Castle/Castle.Windsor.Tests.dll
  143. +58 0 SharedLibs/Castle/Castle.Windsor.Tests.dll.config
  144. BIN  SharedLibs/Castle/Castle.Windsor.Tests.pdb
  145. BIN  SharedLibs/Castle/Castle.Windsor.dll
  146. BIN  SharedLibs/Castle/Castle.Windsor.pdb
  147. +7,371 1,571 SharedLibs/Castle/Castle.Windsor.xml
  148. BIN  SharedLibs/NHibernate/Antlr3.Runtime.dll
  149. BIN  SharedLibs/NHibernate/Castle.Core.dll
  150. BIN  SharedLibs/NHibernate/Castle.Core.pdb
  151. +5 0 SharedLibs/NHibernate/Castle.Core.xml
  152. +0 13 SharedLibs/NHibernate/Castle.DynamicProxy.license.txt
  153. +0 1,471 SharedLibs/NHibernate/Castle.DynamicProxy2.xml
  154. BIN  SharedLibs/NHibernate/Iesi.Collections.Test.dll
  155. BIN  SharedLibs/NHibernate/Iesi.Collections.dll
  156. BIN  SharedLibs/NHibernate/Iesi.Collections.pdb
  157. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Castle.Tests.dll
  158. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Castle.Tests.pdb
  159. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Castle.dll
  160. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Castle.pdb
  161. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.LinFu.Tests.dll
  162. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.LinFu.Tests.pdb
  163. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.LinFu.dll
  164. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.LinFu.pdb
  165. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Spring.Tests.dll
  166. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Spring.Tests.pdb
  167. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Spring.dll
  168. BIN  SharedLibs/NHibernate/NHibernate.ByteCode.Spring.pdb
  169. BIN  SharedLibs/NHibernate/NHibernate.Test.dll
  170. BIN  SharedLibs/NHibernate/NHibernate.dll
  171. BIN  SharedLibs/NHibernate/NHibernate.pdb
  172. BIN  SharedLibs/Rhino-dsl/Boo.Lang.Compiler.dll
  173. BIN  SharedLibs/Rhino-dsl/Boo.Lang.Parser.dll
  174. BIN  SharedLibs/Rhino-dsl/Boo.Lang.dll
  175. BIN  SharedLibs/Rhino-dsl/Rhino.DSL.dll
  176. BIN  SharedLibs/Rhino-dsl/Rhino.DSL.pdb
  177. BIN  SharedLibs/Tools/MbUnit/MbUnit.AddIn.dll
  178. BIN  SharedLibs/Tools/MbUnit/MbUnit.Cons.exe
  179. +12 12 SharedLibs/Tools/MbUnit/MbUnit.Cons.exe.config
  180. BIN  SharedLibs/Tools/MbUnit/MbUnit.Demo.1.1.dll
  181. +0 20 SharedLibs/Tools/MbUnit/MbUnit.Framework.1.1.XML
  182. BIN  SharedLibs/Tools/MbUnit/MbUnit.Framework.1.1.dll
  183. BIN  SharedLibs/Tools/MbUnit/MbUnit.Framework.2.0.dll
  184. BIN  SharedLibs/Tools/MbUnit/MbUnit.Framework.2.0.pdb
  185. +278 0 SharedLibs/Tools/MbUnit/MbUnit.Framework.2.0.xml
  186. +6,929 10,995 SharedLibs/Tools/MbUnit/MbUnit.Framework.XML
  187. BIN  SharedLibs/Tools/MbUnit/MbUnit.Framework.dll
  188. BIN  SharedLibs/Tools/MbUnit/MbUnit.Framework.pdb
  189. BIN  SharedLibs/Tools/MbUnit/MbUnit.GUI.exe
  190. +13 13 SharedLibs/Tools/MbUnit/MbUnit.GUI.exe.config
  191. BIN  SharedLibs/Tools/MbUnit/MbUnit.MSBuild.Tasks.dll
  192. BIN  SharedLibs/Tools/MbUnit/MbUnit.Tasks.dll
  193. BIN  SharedLibs/Tools/MbUnit/MbUnit.Tests.1.1.dll
126 Rhino.Commons-vs2008.sln
... ... @@ -1,63 +1,63 @@
1   -
2   -Microsoft Visual Studio Solution File, Format Version 10.00
3   -# Visual Studio 2008
4   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons-vs2008", "Rhino.Commons\Rhino.Commons-vs2008.csproj", "{F6321543-E1EC-4999-A562-D9F060C8E3DF}"
5   -EndProject
6   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Test-vs2008", "Rhino.Commons.Test\Rhino.Commons.Test-vs2008.csproj", "{EE98519D-104D-4A31-ADD8-82C5F836018C}"
7   -EndProject
8   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.ActiveRecord-vs2008", "Rhino.Commons.ActiveRecord\Rhino.Commons.ActiveRecord-vs2008.csproj", "{2B796A66-19FC-4E72-BB02-DC16D878725A}"
9   -EndProject
10   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Clr-vs2008", "Rhino.Commons.Clr\Rhino.Commons.Clr-vs2008.csproj", "{77693BCD-4C8A-4523-AEE7-8AB46C1034E7}"
11   -EndProject
12   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.NHibernate-v2008", "Rhino.Commons.NHibernate\Rhino.Commons.NHibernate-v2008.csproj", "{BF4E220E-5AF8-4448-ABA9-981D69AB8775}"
13   -EndProject
14   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Binsor", "Rhino.Commons.Binsor\Rhino.Commons.Binsor.csproj", "{CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}"
15   -EndProject
16   -Global
17   - GlobalSection(SolutionConfigurationPlatforms) = preSolution
18   - Debug|Any CPU = Debug|Any CPU
19   - Release|Any CPU = Release|Any CPU
20   - Start|Any CPU = Start|Any CPU
21   - EndGlobalSection
22   - GlobalSection(ProjectConfigurationPlatforms) = postSolution
23   - {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24   - {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
25   - {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
26   - {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Release|Any CPU.Build.0 = Release|Any CPU
27   - {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Start|Any CPU.ActiveCfg = Release|Any CPU
28   - {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Start|Any CPU.Build.0 = Release|Any CPU
29   - {EE98519D-104D-4A31-ADD8-82C5F836018C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30   - {EE98519D-104D-4A31-ADD8-82C5F836018C}.Debug|Any CPU.Build.0 = Debug|Any CPU
31   - {EE98519D-104D-4A31-ADD8-82C5F836018C}.Release|Any CPU.ActiveCfg = Release|Any CPU
32   - {EE98519D-104D-4A31-ADD8-82C5F836018C}.Release|Any CPU.Build.0 = Release|Any CPU
33   - {EE98519D-104D-4A31-ADD8-82C5F836018C}.Start|Any CPU.ActiveCfg = Start|Any CPU
34   - {EE98519D-104D-4A31-ADD8-82C5F836018C}.Start|Any CPU.Build.0 = Start|Any CPU
35   - {2B796A66-19FC-4E72-BB02-DC16D878725A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
36   - {2B796A66-19FC-4E72-BB02-DC16D878725A}.Debug|Any CPU.Build.0 = Debug|Any CPU
37   - {2B796A66-19FC-4E72-BB02-DC16D878725A}.Release|Any CPU.ActiveCfg = Release|Any CPU
38   - {2B796A66-19FC-4E72-BB02-DC16D878725A}.Release|Any CPU.Build.0 = Release|Any CPU
39   - {2B796A66-19FC-4E72-BB02-DC16D878725A}.Start|Any CPU.ActiveCfg = Release|Any CPU
40   - {2B796A66-19FC-4E72-BB02-DC16D878725A}.Start|Any CPU.Build.0 = Release|Any CPU
41   - {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42   - {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
43   - {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
44   - {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Release|Any CPU.Build.0 = Release|Any CPU
45   - {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Start|Any CPU.ActiveCfg = Release|Any CPU
46   - {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Start|Any CPU.Build.0 = Release|Any CPU
47   - {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
48   - {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Debug|Any CPU.Build.0 = Debug|Any CPU
49   - {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Release|Any CPU.ActiveCfg = Release|Any CPU
50   - {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Release|Any CPU.Build.0 = Release|Any CPU
51   - {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Start|Any CPU.ActiveCfg = Release|Any CPU
52   - {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Start|Any CPU.Build.0 = Release|Any CPU
53   - {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54   - {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
55   - {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
56   - {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Release|Any CPU.Build.0 = Release|Any CPU
57   - {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Start|Any CPU.ActiveCfg = Release|Any CPU
58   - {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Start|Any CPU.Build.0 = Release|Any CPU
59   - EndGlobalSection
60   - GlobalSection(SolutionProperties) = preSolution
61   - HideSolutionNode = FALSE
62   - EndGlobalSection
63   -EndGlobal
  1 +
  2 +Microsoft Visual Studio Solution File, Format Version 11.00
  3 +# Visual Studio 2010
  4 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons-vs2008", "Rhino.Commons\Rhino.Commons-vs2008.csproj", "{F6321543-E1EC-4999-A562-D9F060C8E3DF}"
  5 +EndProject
  6 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Test-vs2008", "Rhino.Commons.Test\Rhino.Commons.Test-vs2008.csproj", "{EE98519D-104D-4A31-ADD8-82C5F836018C}"
  7 +EndProject
  8 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.ActiveRecord-vs2008", "Rhino.Commons.ActiveRecord\Rhino.Commons.ActiveRecord-vs2008.csproj", "{2B796A66-19FC-4E72-BB02-DC16D878725A}"
  9 +EndProject
  10 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Clr-vs2008", "Rhino.Commons.Clr\Rhino.Commons.Clr-vs2008.csproj", "{77693BCD-4C8A-4523-AEE7-8AB46C1034E7}"
  11 +EndProject
  12 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.NHibernate-v2008", "Rhino.Commons.NHibernate\Rhino.Commons.NHibernate-v2008.csproj", "{BF4E220E-5AF8-4448-ABA9-981D69AB8775}"
  13 +EndProject
  14 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Binsor", "Rhino.Commons.Binsor\Rhino.Commons.Binsor.csproj", "{CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}"
  15 +EndProject
  16 +Global
  17 + GlobalSection(SolutionConfigurationPlatforms) = preSolution
  18 + Debug|Any CPU = Debug|Any CPU
  19 + Release|Any CPU = Release|Any CPU
  20 + Start|Any CPU = Start|Any CPU
  21 + EndGlobalSection
  22 + GlobalSection(ProjectConfigurationPlatforms) = postSolution
  23 + {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  24 + {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
  25 + {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
  26 + {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Release|Any CPU.Build.0 = Release|Any CPU
  27 + {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Start|Any CPU.ActiveCfg = Release|Any CPU
  28 + {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Start|Any CPU.Build.0 = Release|Any CPU
  29 + {EE98519D-104D-4A31-ADD8-82C5F836018C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  30 + {EE98519D-104D-4A31-ADD8-82C5F836018C}.Debug|Any CPU.Build.0 = Debug|Any CPU
  31 + {EE98519D-104D-4A31-ADD8-82C5F836018C}.Release|Any CPU.ActiveCfg = Release|Any CPU
  32 + {EE98519D-104D-4A31-ADD8-82C5F836018C}.Release|Any CPU.Build.0 = Release|Any CPU
  33 + {EE98519D-104D-4A31-ADD8-82C5F836018C}.Start|Any CPU.ActiveCfg = Start|Any CPU
  34 + {EE98519D-104D-4A31-ADD8-82C5F836018C}.Start|Any CPU.Build.0 = Start|Any CPU
  35 + {2B796A66-19FC-4E72-BB02-DC16D878725A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  36 + {2B796A66-19FC-4E72-BB02-DC16D878725A}.Debug|Any CPU.Build.0 = Debug|Any CPU
  37 + {2B796A66-19FC-4E72-BB02-DC16D878725A}.Release|Any CPU.ActiveCfg = Release|Any CPU
  38 + {2B796A66-19FC-4E72-BB02-DC16D878725A}.Release|Any CPU.Build.0 = Release|Any CPU
  39 + {2B796A66-19FC-4E72-BB02-DC16D878725A}.Start|Any CPU.ActiveCfg = Release|Any CPU
  40 + {2B796A66-19FC-4E72-BB02-DC16D878725A}.Start|Any CPU.Build.0 = Release|Any CPU
  41 + {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  42 + {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
  43 + {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
  44 + {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Release|Any CPU.Build.0 = Release|Any CPU
  45 + {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Start|Any CPU.ActiveCfg = Release|Any CPU
  46 + {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Start|Any CPU.Build.0 = Release|Any CPU
  47 + {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  48 + {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Debug|Any CPU.Build.0 = Debug|Any CPU
  49 + {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Release|Any CPU.ActiveCfg = Release|Any CPU
  50 + {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Release|Any CPU.Build.0 = Release|Any CPU
  51 + {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Start|Any CPU.ActiveCfg = Release|Any CPU
  52 + {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Start|Any CPU.Build.0 = Release|Any CPU
  53 + {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  54 + {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
  55 + {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
  56 + {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Release|Any CPU.Build.0 = Release|Any CPU
  57 + {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Start|Any CPU.ActiveCfg = Release|Any CPU
  58 + {CCB0BEBF-146A-4C42-B22A-1EB338E4EA8B}.Start|Any CPU.Build.0 = Release|Any CPU
  59 + EndGlobalSection
  60 + GlobalSection(SolutionProperties) = preSolution
  61 + HideSolutionNode = FALSE
  62 + EndGlobalSection
  63 +EndGlobal
8 Rhino.Commons.ActiveRecord/ForTesting/ActiveRecordEmbeddedDBTestFixtureBase.cs
@@ -96,10 +96,10 @@ public void FixtureInitialize(string rhinoContainerConfig, InPlaceConfigurationS
96 96 IoC.Initialize(new RhinoContainer(rhinoContainerConfig));
97 97 IHandler unitOfWorkFactoryHandler = IoC.Container.Kernel
98 98 .GetHandler(typeof(IUnitOfWorkFactory));
99   - unitOfWorkFactoryHandler
100   - .AddCustomDependencyValue("configurationSource", cfg);
101   - unitOfWorkFactoryHandler
102   - .AddCustomDependencyValue("assemblies", assemblies);
  99 + //unitOfWorkFactoryHandler
  100 + // .AddCustomDependencyValue("configurationSource", cfg);
  101 + //unitOfWorkFactoryHandler
  102 + // .AddCustomDependencyValue("assemblies", assemblies);
103 103 IoC.Resolve<IUnitOfWorkFactory>().Init();
104 104 }
105 105 else
8 Rhino.Commons.ActiveRecord/ForTesting/ActiveRecordInMemoryTestFixtureBase.cs
@@ -97,10 +97,10 @@ public void OneTimeInitalize(string rhinoContainerConfig, InPlaceConfigurationSo
97 97 IoC.Initialize(new RhinoContainer(rhinoContainerConfig));
98 98 IHandler unitOfWorkFactoryHandler = IoC.Container.Kernel
99 99 .GetHandler(typeof(IUnitOfWorkFactory));
100   - unitOfWorkFactoryHandler
101   - .AddCustomDependencyValue("configurationSource", cfg);
102   - unitOfWorkFactoryHandler
103   - .AddCustomDependencyValue("assemblies", assemblies);
  100 + //unitOfWorkFactoryHandler
  101 + // .AddCustomDependencyValue("configurationSource", cfg);
  102 + //unitOfWorkFactoryHandler
  103 + // .AddCustomDependencyValue("assemblies", assemblies);
104 104 }
105 105 else
106 106 {
308 Rhino.Commons.ActiveRecord/Rhino.Commons.ActiveRecord-vs2008.csproj
... ... @@ -1,156 +1,166 @@
1   -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
2   - <PropertyGroup>
3   - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4   - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5   - <ProductVersion>9.0.30729</ProductVersion>
6   - <SchemaVersion>2.0</SchemaVersion>
7   - <ProjectGuid>{2B796A66-19FC-4E72-BB02-DC16D878725A}</ProjectGuid>
8   - <OutputType>Library</OutputType>
9   - <AppDesignerFolder>Properties</AppDesignerFolder>
10   - <RootNamespace>Rhino.Commons</RootNamespace>
11   - <AssemblyName>Rhino.Commons.ActiveRecord</AssemblyName>
12   - <SignAssembly>true</SignAssembly>
13   - <AssemblyOriginatorKeyFile>..\ayende-open-source.snk</AssemblyOriginatorKeyFile>
14   - <FileUpgradeFlags>
15   - </FileUpgradeFlags>
16   - <UpgradeBackupLocation>
17   - </UpgradeBackupLocation>
18   - <OldToolsVersion>2.0</OldToolsVersion>
19   - <PublishUrl>publish\</PublishUrl>
20   - <Install>true</Install>
21   - <InstallFrom>Disk</InstallFrom>
22   - <UpdateEnabled>false</UpdateEnabled>
23   - <UpdateMode>Foreground</UpdateMode>
24   - <UpdateInterval>7</UpdateInterval>
25   - <UpdateIntervalUnits>Days</UpdateIntervalUnits>
26   - <UpdatePeriodically>false</UpdatePeriodically>
27   - <UpdateRequired>false</UpdateRequired>
28   - <MapFileExtensions>true</MapFileExtensions>
29   - <ApplicationRevision>0</ApplicationRevision>
30   - <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
31   - <IsWebBootstrapper>false</IsWebBootstrapper>
32   - <UseApplicationTrust>false</UseApplicationTrust>
33   - <BootstrapperEnabled>true</BootstrapperEnabled>
34   - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
35   - </PropertyGroup>
36   - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
37   - <DebugSymbols>true</DebugSymbols>
38   - <DebugType>full</DebugType>
39   - <Optimize>false</Optimize>
40   - <OutputPath>bin\Debug\</OutputPath>
41   - <DefineConstants>DEBUG;TRACE</DefineConstants>
42   - <ErrorReport>prompt</ErrorReport>
43   - <WarningLevel>4</WarningLevel>
44   - <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
45   - <NoWarn>1607</NoWarn>
46   - </PropertyGroup>
47   - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
48   - <DebugType>pdbonly</DebugType>
49   - <Optimize>true</Optimize>
50   - <OutputPath>bin\Release\</OutputPath>
51   - <DefineConstants>TRACE</DefineConstants>
52   - <ErrorReport>prompt</ErrorReport>
53   - <WarningLevel>4</WarningLevel>
54   - </PropertyGroup>
55   - <ItemGroup>
56   - <Reference Include="Castle.ActiveRecord, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
57   - <SpecificVersion>False</SpecificVersion>
58   - <HintPath>..\SharedLibs\Castle\Castle.ActiveRecord.dll</HintPath>
59   - </Reference>
60   - <Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
61   - <SpecificVersion>False</SpecificVersion>
62   - <HintPath>..\SharedLibs\Castle\Castle.Core.dll</HintPath>
63   - </Reference>
64   - <Reference Include="Castle.Facilities.AutomaticTransactionManagement, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
65   - <SpecificVersion>False</SpecificVersion>
66   - <HintPath>..\SharedLibs\Castle\Castle.Facilities.AutomaticTransactionManagement.dll</HintPath>
67   - </Reference>
68   - <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
69   - <SpecificVersion>False</SpecificVersion>
70   - <HintPath>..\SharedLibs\Castle\Castle.MicroKernel.dll</HintPath>
71   - </Reference>
72   - <Reference Include="Castle.Services.Transaction, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
73   - <SpecificVersion>False</SpecificVersion>
74   - <HintPath>..\SharedLibs\Castle\Castle.Services.Transaction.dll</HintPath>
75   - </Reference>
76   - <Reference Include="Castle.Windsor, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
77   - <SpecificVersion>False</SpecificVersion>
78   - <HintPath>..\SharedLibs\Castle\Castle.Windsor.dll</HintPath>
79   - </Reference>
80   - <Reference Include="Microsoft.Build.Framework" />
81   - <Reference Include="Microsoft.Build.Utilities" />
82   - <Reference Include="NHibernate, Version=2.1.0.1003, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
83   - <SpecificVersion>False</SpecificVersion>
84   - <HintPath>..\SharedLibs\NHibernate\NHibernate.dll</HintPath>
85   - </Reference>
86   - <Reference Include="System" />
87   - <Reference Include="System.Core">
88   - <RequiredTargetFramework>3.5</RequiredTargetFramework>
89   - </Reference>
90   - <Reference Include="System.Data" />
91   - <Reference Include="System.Web" />
92   - </ItemGroup>
93   - <ItemGroup>
94   - <Compile Include="DateRange.cs" />
95   - <Compile Include="Facilities\ActiveRecordUnitOfWorkFacility.cs" />
96   - <Compile Include="ForTesting\ActiveRecordEmbeddedDBTestFixtureBase.cs" />
97   - <Compile Include="ForTesting\ActiveRecordInMemoryTestFixtureBase.cs" />
98   - <Compile Include="ForTesting\ARUnitOfWorkTestContext.cs" />
99   - <Compile Include="NHibernate\ActiveRecordCriteriaBatch.cs" />
100   - <Compile Include="NHibernate\PluralizingNamingStrategy.cs" />
101   - <Compile Include="Properties\AssemblyInfo.cs" />
102   - <Compile Include="Repositories\ARRepository.cs" />
103   - <Compile Include="Tasks\ActiveRecord_CreateDatabase.cs" />
104   - <Compile Include="UnitOfWork\ActiveRecordTransactionAdapter.cs" />
105   - <Compile Include="UnitOfWork\ActiveRecordUnitOfWorkAdapter.cs" />
106   - <Compile Include="UnitOfWork\ActiveRecordUnitOfWorkFactory.cs" />
107   - <Compile Include="UnitOfWork\IActiveRecordUnitOfWork.cs" />
108   - </ItemGroup>
109   - <ItemGroup>
110   - <ProjectReference Include="..\Rhino.Commons.Clr\Rhino.Commons.Clr-vs2008.csproj">
111   - <Project>{77693BCD-4C8A-4523-AEE7-8AB46C1034E7}</Project>
112   - <Name>Rhino.Commons.Clr</Name>
113   - </ProjectReference>
114   - <ProjectReference Include="..\Rhino.Commons.NHibernate\Rhino.Commons.NHibernate-v2008.csproj">
115   - <Project>{BF4E220E-5AF8-4448-ABA9-981D69AB8775}</Project>
116   - <Name>Rhino.Commons.NHibernate</Name>
117   - </ProjectReference>
118   - <ProjectReference Include="..\Rhino.Commons\Rhino.Commons-vs2008.csproj">
119   - <Project>{F6321543-E1EC-4999-A562-D9F060C8E3DF}</Project>
120   - <Name>Rhino.Commons</Name>
121   - </ProjectReference>
122   - </ItemGroup>
123   - <ItemGroup>
124   - <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
125   - </ItemGroup>
126   - <ItemGroup>
127   - <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
128   - <Visible>False</Visible>
129   - <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
130   - <Install>true</Install>
131   - </BootstrapperPackage>
132   - <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
133   - <Visible>False</Visible>
134   - <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
135   - <Install>false</Install>
136   - </BootstrapperPackage>
137   - <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
138   - <Visible>False</Visible>
139   - <ProductName>.NET Framework 3.5</ProductName>
140   - <Install>false</Install>
141   - </BootstrapperPackage>
142   - </ItemGroup>
143   - <ItemGroup>
144   - <None Include="..\ayende-open-source.snk">
145   - <Link>ayende-open-source.snk</Link>
146   - </None>
147   - </ItemGroup>
148   - <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  3 + <PropertyGroup>
  4 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6 + <ProductVersion>9.0.30729</ProductVersion>
  7 + <SchemaVersion>2.0</SchemaVersion>
  8 + <ProjectGuid>{2B796A66-19FC-4E72-BB02-DC16D878725A}</ProjectGuid>
  9 + <OutputType>Library</OutputType>
  10 + <AppDesignerFolder>Properties</AppDesignerFolder>
  11 + <RootNamespace>Rhino.Commons</RootNamespace>
  12 + <AssemblyName>Rhino.Commons.ActiveRecord</AssemblyName>
  13 + <SignAssembly>true</SignAssembly>
  14 + <AssemblyOriginatorKeyFile>..\ayende-open-source.snk</AssemblyOriginatorKeyFile>
  15 + <FileUpgradeFlags>
  16 + </FileUpgradeFlags>
  17 + <UpgradeBackupLocation>
  18 + </UpgradeBackupLocation>
  19 + <OldToolsVersion>3.5</OldToolsVersion>
  20 + <IsWebBootstrapper>false</IsWebBootstrapper>
  21 + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  22 + <PublishUrl>publish\</PublishUrl>
  23 + <Install>true</Install>
  24 + <InstallFrom>Disk</InstallFrom>
  25 + <UpdateEnabled>false</UpdateEnabled>
  26 + <UpdateMode>Foreground</UpdateMode>
  27 + <UpdateInterval>7</UpdateInterval>
  28 + <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  29 + <UpdatePeriodically>false</UpdatePeriodically>
  30 + <UpdateRequired>false</UpdateRequired>
  31 + <MapFileExtensions>true</MapFileExtensions>
  32 + <ApplicationRevision>0</ApplicationRevision>
  33 + <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
  34 + <UseApplicationTrust>false</UseApplicationTrust>
  35 + <BootstrapperEnabled>true</BootstrapperEnabled>
  36 + <TargetFrameworkProfile />
  37 + </PropertyGroup>
  38 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  39 + <DebugSymbols>true</DebugSymbols>
  40 + <DebugType>full</DebugType>
  41 + <Optimize>false</Optimize>
  42 + <OutputPath>bin\Debug\</OutputPath>
  43 + <DefineConstants>DEBUG;TRACE</DefineConstants>
  44 + <ErrorReport>prompt</ErrorReport>
  45 + <WarningLevel>4</WarningLevel>
  46 + <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  47 + <NoWarn>1607</NoWarn>
  48 + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  49 + </PropertyGroup>
  50 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  51 + <DebugType>pdbonly</DebugType>
  52 + <Optimize>true</Optimize>
  53 + <OutputPath>bin\Release\</OutputPath>
  54 + <DefineConstants>TRACE</DefineConstants>
  55 + <ErrorReport>prompt</ErrorReport>
  56 + <WarningLevel>4</WarningLevel>
  57 + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  58 + </PropertyGroup>
  59 + <ItemGroup>
  60 + <Reference Include="Castle.ActiveRecord, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
  61 + <SpecificVersion>False</SpecificVersion>
  62 + <HintPath>..\SharedLibs\Castle\Castle.ActiveRecord.dll</HintPath>
  63 + </Reference>
  64 + <Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
  65 + <SpecificVersion>False</SpecificVersion>
  66 + <HintPath>..\SharedLibs\Castle\Castle.Core.dll</HintPath>
  67 + </Reference>
  68 + <Reference Include="Castle.Facilities.AutoTx, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
  69 + <SpecificVersion>False</SpecificVersion>
  70 + <HintPath>..\SharedLibs\Castle\Castle.Facilities.AutoTx.dll</HintPath>
  71 + </Reference>
  72 + <Reference Include="Castle.Services.Transaction, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
  73 + <SpecificVersion>False</SpecificVersion>
  74 + <HintPath>..\SharedLibs\Castle\Castle.Services.Transaction.dll</HintPath>
  75 + </Reference>
  76 + <Reference Include="Castle.Windsor, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
  77 + <SpecificVersion>False</SpecificVersion>
  78 + <HintPath>..\SharedLibs\Castle\Castle.Windsor.dll</HintPath>
  79 + </Reference>
  80 + <Reference Include="Microsoft.Build.Framework" />
  81 + <Reference Include="Microsoft.Build.Utilities" />
  82 + <Reference Include="NHibernate, Version=2.1.0.1003, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
  83 + <SpecificVersion>False</SpecificVersion>
  84 + <HintPath>..\SharedLibs\NHibernate\NHibernate.dll</HintPath>
  85 + </Reference>
  86 + <Reference Include="System" />
  87 + <Reference Include="System.Core">
  88 + <RequiredTargetFramework>3.5</RequiredTargetFramework>
  89 + </Reference>
  90 + <Reference Include="System.Data" />
  91 + <Reference Include="System.Web" />
  92 + </ItemGroup>
  93 + <ItemGroup>
  94 + <Compile Include="DateRange.cs" />
  95 + <Compile Include="Facilities\ActiveRecordUnitOfWorkFacility.cs" />
  96 + <Compile Include="ForTesting\ActiveRecordEmbeddedDBTestFixtureBase.cs" />
  97 + <Compile Include="ForTesting\ActiveRecordInMemoryTestFixtureBase.cs" />
  98 + <Compile Include="ForTesting\ARUnitOfWorkTestContext.cs" />
  99 + <Compile Include="NHibernate\ActiveRecordCriteriaBatch.cs" />
  100 + <Compile Include="NHibernate\PluralizingNamingStrategy.cs" />
  101 + <Compile Include="Properties\AssemblyInfo.cs" />
  102 + <Compile Include="Repositories\ARRepository.cs" />
  103 + <Compile Include="Tasks\ActiveRecord_CreateDatabase.cs" />
  104 + <Compile Include="UnitOfWork\ActiveRecordTransactionAdapter.cs" />
  105 + <Compile Include="UnitOfWork\ActiveRecordUnitOfWorkAdapter.cs" />
  106 + <Compile Include="UnitOfWork\ActiveRecordUnitOfWorkFactory.cs" />
  107 + <Compile Include="UnitOfWork\IActiveRecordUnitOfWork.cs" />
  108 + </ItemGroup>
  109 + <ItemGroup>
  110 + <ProjectReference Include="..\Rhino.Commons.Clr\Rhino.Commons.Clr-vs2008.csproj">
  111 + <Project>{77693BCD-4C8A-4523-AEE7-8AB46C1034E7}</Project>
  112 + <Name>Rhino.Commons.Clr</Name>
  113 + </ProjectReference>
  114 + <ProjectReference Include="..\Rhino.Commons.NHibernate\Rhino.Commons.NHibernate-v2008.csproj">
  115 + <Project>{BF4E220E-5AF8-4448-ABA9-981D69AB8775}</Project>
  116 + <Name>Rhino.Commons.NHibernate</Name>
  117 + </ProjectReference>
  118 + <ProjectReference Include="..\Rhino.Commons\Rhino.Commons-vs2008.csproj">
  119 + <Project>{F6321543-E1EC-4999-A562-D9F060C8E3DF}</Project>
  120 + <Name>Rhino.Commons</Name>
  121 + </ProjectReference>
  122 + </ItemGroup>
  123 + <ItemGroup>
  124 + <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
  125 + </ItemGroup>
  126 + <ItemGroup>
  127 + <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
  128 + <Visible>False</Visible>
  129 + <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
  130 + <Install>false</Install>
  131 + </BootstrapperPackage>
  132 + <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
  133 + <Visible>False</Visible>
  134 + <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
  135 + <Install>true</Install>
  136 + </BootstrapperPackage>
  137 + <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
  138 + <Visible>False</Visible>
  139 + <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
  140 + <Install>false</Install>
  141 + </BootstrapperPackage>
  142 + <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
  143 + <Visible>False</Visible>
  144 + <ProductName>.NET Framework 3.5</ProductName>
  145 + <Install>false</Install>
  146 + </BootstrapperPackage>
  147 + <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  148 + <Visible>False</Visible>
  149 + <ProductName>.NET Framework 3.5 SP1</ProductName>
  150 + <Install>false</Install>
  151 + </BootstrapperPackage>
  152 + </ItemGroup>
  153 + <ItemGroup>
  154 + <None Include="..\ayende-open-source.snk">
  155 + <Link>ayende-open-source.snk</Link>
  156 + </None>
  157 + </ItemGroup>
  158 + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
149 159 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
150 160 Other similar extension points exist, see Microsoft.Common.targets.
151 161 <Target Name="BeforeBuild">
152 162 </Target>
153 163 <Target Name="AfterBuild">
154 164 </Target>
155   - -->
  165 + -->
156 166 </Project>
67 Rhino.Commons.Binsor/AbstractConfigurationRunner.cs
@@ -24,11 +24,10 @@
24 24 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 25 // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 26 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27   -#endregion
28   -
29   -using System;
30   -using Castle.Core;
31   -using Castle.MicroKernel;
  27 +#endregion
  28 +
  29 +using System;
  30 +using Castle.MicroKernel;
32 31 using Castle.Windsor;
33 32
34 33 namespace Rhino.Commons.Binsor
@@ -50,34 +49,38 @@ public static IKernel Kernel
50 49
51 50 public static IDisposable UseLocalContainer(IWindsorContainer container)
52 51 {
53   - localContainer = container;
54   - return new DisposableAction(delegate { localContainer = null; });
55   - }
56   -
57   - public static IDisposable CaptureRegistrations()
58   - {
59   - localContainer.Kernel.ComponentRegistered +=new ComponentDataDelegate(AddSecondPassRegistration);
60   -
61   - // we should get components already registered.
62   - foreach ( GraphNode node in localContainer.Kernel.GraphNodes)
63   - {
64   - ComponentModel model = node as ComponentModel;
65   - if (model == null)
66   - continue;
67   - AddSecondPassRegistration(model.Name, localContainer.Kernel.GetHandler(model.Name));
68   - }
69   - return new DisposableAction(delegate {
70   - localContainer.Kernel.ComponentRegistered -=
71   - new ComponentDataDelegate(AddSecondPassRegistration); });
72   - }
73   -
74   - static void AddSecondPassRegistration(string key, IHandler handler)
75   - {
76   - Component component;
77   - if (false == BooReader.TryGetComponentByName(key, out component))
78   - BooReader.NeedSecondPassRegistrations.Add(new Component(key, handler.Service, handler.ComponentModel.Implementation));
  52 + return new ContainerScope(container);
  53 + }
  54 +
  55 + protected void Run(IWindsorContainer container, Action registrations)
  56 + {
  57 + if (localContainer == null)
  58 + {
  59 + BooReader.Execute(container, registrations);
  60 + }
  61 + else
  62 + {
  63 + registrations();
  64 + }
79 65 }
80 66
81   - public abstract void Run();
  67 + public abstract void Run();
  68 +
  69 + #region Nested Class: ContainerScope
  70 +
  71 + class ContainerScope : IDisposable
  72 + {
  73 + public ContainerScope(IWindsorContainer container)
  74 + {
  75 + localContainer = container;
  76 + }
  77 +
  78 + public void Dispose()
  79 + {
  80 + localContainer = null;
  81 + }
  82 + }
  83 +
  84 + #endregion
82 85 }
83 86 }
19 Rhino.Commons.Binsor/BinsorCompilerStep.cs
@@ -44,7 +44,8 @@ internal class BinsorCompilerStep : ImplicitBaseClassCompilerStep
44 44 "Rhino.Commons.Binsor.BinsorGlobalMethods",
45 45 "Rhino.Commons.Binsor.Macros",
46 46 "Rhino.Commons.Binsor.Configuration",
47   - "Castle.Core"
  47 + "Castle.Windsor",
  48 + "Castle.Core",
48 49 };
49 50
50 51 public BinsorCompilerStep(params string[] namespaces)
@@ -60,28 +61,20 @@ public BinsorCompilerStep(string environment, params string[] namespaces)
60 61 }
61 62
62 63 protected override void ExtendBaseClass(TypeDefinition definition)
63   - {
64   - Property property = new Property("Environment");
65   - property.Getter = new Method("getter_Environment");
66   - property.Getter.Body.Add(
67   - new ReturnStatement(
68   - new StringLiteralExpression(environment ?? "")
69   - )
70   - );
  64 + {
  65 + var property = new Property("_Environment") { Getter = new Method("getter__Environment") };
  66 + property.Getter.Body.Add(new ReturnStatement(new StringLiteralExpression(environment ?? "")));
71 67 definition.Members.Add(property);
72 68 }
73 69
74 70 private static string[] GetEffectiveNamespaces(string[] namespaces)
75 71 {
76 72 if (namespaces == null || namespaces.Length == 0)
77   - {
78 73 return DefaultNamespaces;
79   - }
80 74
81   - string[] ns = new string[DefaultNamespaces.Length + namespaces.Length];
  75 + var ns = new string[DefaultNamespaces.Length + namespaces.Length];
82 76 DefaultNamespaces.CopyTo(ns, 0);
83 77 namespaces.CopyTo(ns, DefaultNamespaces.Length);
84   -
85 78 return ns;
86 79 }
87 80 }
31 Rhino.Commons.Binsor/BinsorGlobalMethods.cs
@@ -16,7 +16,7 @@ public static Type GetFirstInterface(this Type type)
16 16 public static Type GetFirstInterface(Type type)
17 17 #endif
18 18 {
19   - return GetFirstInterface(type, delegate { return true; });
  19 + return GetFirstInterface(type, _ => true);
20 20 }
21 21
22 22 [Boo.Lang.Extension]
@@ -30,9 +30,9 @@ public static Type GetFirstInterface(Type type, Predicate<Type> match)
30 30 interfaces = Array.FindAll(interfaces, match);
31 31 if(interfaces.Length!=1)
32 32 {
33   - throw new InvalidOperationException(
34   - "Could not find service interface for "+ type +" because it implements "+interfaces.Length +" interfaces matching the given predicate."+ Environment.NewLine +
35   - "GetFirstInterface() will only work on types implementing a single interface.");
  33 + throw new InvalidOperationException(
  34 + String.Format("Could not find service interface for {0} because it implements {1} interfaces matching the given predicate.{2}GetFirstInterface() will only work on types implementing a single interface.",
  35 + type, interfaces.Length, Environment.NewLine));
36 36 }
37 37 return interfaces[0];
38 38 }
@@ -46,10 +46,7 @@ public static Type GetFirstInterface(Type type, Predicate<Type> match)
46 46 /// <returns></returns>
47 47 public static TypeEnumerable AllTypesBased<T>(params string[] assemblyNames)
48 48 {
49   - return new TypeEnumerable(AllTypesInternal(assemblyNames, delegate(Type type)
50   - {
51   - return typeof(T).IsAssignableFrom(type);
52   - }));
  49 + return new TypeEnumerable(AllTypesInternal(assemblyNames, type => typeof(T).IsAssignableFrom(type)));
53 50 }
54 51
55 52 /// <summary>
@@ -59,17 +56,14 @@ public static TypeEnumerable AllTypesBased<T>(params string[] assemblyNames)
59 56 /// <returns></returns>
60 57 public static TypeEnumerable AllTypes(params string[] assemblyNames)
61 58 {
62   - return new TypeEnumerable(AllTypesInternal(assemblyNames, delegate
63   - {
64   - return true;
65   - }));
  59 + return new TypeEnumerable(AllTypesInternal(assemblyNames, _ => true));
66 60 }
67 61
68 62 private static IEnumerable<Type> AllTypesInternal(string[] assemblyNames, Predicate<Type> match)
69 63 {
70   - foreach (Assembly assembly in AllAssemblies(assemblyNames))
  64 + foreach (var assembly in AllAssemblies(assemblyNames))
71 65 {
72   - foreach (Type type in assembly.GetTypes())
  66 + foreach (var type in assembly.GetTypes())
73 67 {
74 68 if (type.IsClass == false || type.IsAbstract)
75 69 continue;
@@ -82,10 +76,7 @@ private static IEnumerable<Type> AllTypesInternal(string[] assemblyNames, Predic
82 76
83 77 public static TypeEnumerable AllTypesWithAttribute<T>(params string[] assemblyNames)
84 78 {
85   - return new TypeEnumerable(AllTypesInternal(assemblyNames, delegate(Type type)
86   - {
87   - return type.IsDefined(typeof(T), true);
88   - }));
  79 + return new TypeEnumerable(AllTypesInternal(assemblyNames, type => type.IsDefined(typeof(T), true)));
89 80 }
90 81
91 82 /// <summary>
@@ -95,8 +86,8 @@ public static TypeEnumerable AllTypesWithAttribute<T>(params string[] assemblyNa
95 86 /// <param name="assemblyNames">The assembly names.</param>
96 87 public static IEnumerable<Assembly> AllAssemblies(params string[] assemblyNames)
97 88 {
98   - List<Assembly> assemblies = new List<Assembly>();
99   - foreach (string assembly in assemblyNames)
  89 + var assemblies = new List<Assembly>();
  90 + foreach (var assembly in assemblyNames)
100 91 {
101 92 try
102 93 {
12 Rhino.Commons.Binsor/BooComponentInstaller.cs
@@ -29,12 +29,12 @@
29 29 #endregion
30 30
31 31 namespace Rhino.Commons.Binsor
32   -{
33   - using System;
34   - using Castle.MicroKernel;
35   - using Castle.Windsor;
36   - using Castle.Core.Resource;
37   - using Castle.MicroKernel.SubSystems.Resource;
  32 +{
  33 + using System;
  34 + using Castle.Core.Resource;
  35 + using Castle.MicroKernel.SubSystems.Configuration;
  36 + using Castle.Windsor;
  37 +
38 38 public class BooComponentInstaller : IComponentsInstaller
39 39 {
40 40 private readonly string fileName;
215 Rhino.Commons.Binsor/BooReader.cs
<
@@ -51,49 +51,6 @@ public static class BooReader
51 51 {
52 52 private static readonly BooToken tokenThatIsNeededToKeepReferenceToTheBooParserAssembly = new BooToken();
53 53
54   - internal static ICollection<INeedSecondPassRegistration> NeedSecondPassRegistrations
55   - {
56   - get
57   - {
58   - ICollection<INeedSecondPassRegistration> data = (ICollection<INeedSecondPassRegistration>)
59   - Local.Data[tokenThatIsNeededToKeepReferenceToTheBooParserAssembly];
60   - if (data == null)
61   - {
62   - Local.Data[tokenThatIsNeededToKeepReferenceToTheBooParserAssembly] =
63   - data = new List<INeedSecondPassRegistration>();
64   - }
65   - return data;
66   - }
67   - set { Local.Data[tokenThatIsNeededToKeepReferenceToTheBooParserAssembly] = value; }
68   - }
69   -
70   - public static bool TryGetComponentByName(string name, out Component component)
71   - {
72   - component = null;
73   - foreach (INeedSecondPassRegistration secondPassRegistration in NeedSecondPassRegistrations)
74   - {
75   - Component c = secondPassRegistration as Component;
76   - if (c == null)
77   - continue;
78   - if (c.Name.Equals(name, StringComparison.InvariantCultureIgnoreCase))
79   - {
80   - component = c;
81   - return true;
82   - }
83   - }
84   - return false;
85   -
86   - }
87   -
88   - public static Component GetComponentByName(string name)
89   - {
90   - Component component;
91   -
92   - if (!TryGetComponentByName(name, out component))
93   - throw new InvalidOperationException("Could not find component named: " + name);
94   - return component;
95   - }
96   -
97 54 public static AbstractConfigurationRunner Read(IWindsorContainer container, CustomUri uri, string name, params string[] namespaces)
98 55 {
99 56 return Read(container, uri, name, name, namespaces);
@@ -113,17 +70,9 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, stri
113 70 IWindsorContainer container, string fileName, string environment,
114 71 GenerationOptions generationOptions, params string[] namespaces)
115 72 {
116   - try
117   - {
118   - AbstractConfigurationRunner conf = GetConfigurationInstanceFromFile(
119   - fileName, environment, container, generationOptions, namespaces);
120   - Execute(container, conf);
121   - return conf;
122   - }
123   - finally
124   - {
125   - NeedSecondPassRegistrations = null;
126   - }
  73 + var conf = GetConfigurationInstanceFromFile(fileName, environment, container, generationOptions, namespaces);
  74 + Execute(container, conf);
  75 + return conf;
127 76 }
128 77
129 78 public static AbstractConfigurationRunner Read(
@@ -131,55 +80,28 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, stri
131 80 GenerationOptions generationOptions, string name,
132 81 string environment, params string[] namespaces)
133 82 {
134   - try
135   - {
136   - using (AbstractConfigurationRunner.UseLocalContainer(container))
137   - {
138   - AbstractConfigurationRunner conf = GetConfigurationInstanceFromResource(
139   - name, environment, container, uri, generationOptions, namespaces);
140   -
141   - using (AbstractConfigurationRunner.CaptureRegistrations())
142   - {
143   - conf.Run();
144   - }
145   -
146   - foreach (INeedSecondPassRegistration needSecondPassRegistration in NeedSecondPassRegistrations)
147   - {
148   - needSecondPassRegistration.RegisterSecondPass();
149   - }
150   -
151   - return conf;
152   - }
153   - }
154   - finally
155   - {
156   - NeedSecondPassRegistrations = null;
  83 + using (AbstractConfigurationRunner.UseLocalContainer(container))
  84 + {
  85 + var conf = GetConfigurationInstanceFromResource(name, environment, container, uri, generationOptions, namespaces);
  86 + conf.Run();
  87 + return conf;
157 88 }
158 89 }
159 90
160 91 public static void Execute(IWindsorContainer container, AbstractConfigurationRunner abstractConfiguration)
161   - {
162   - try
163   - {
164   - using(AbstractConfigurationRunner.UseLocalContainer(container))
165   - {
166   - using (AbstractConfigurationRunner.CaptureRegistrations())
167   - {
168   - abstractConfiguration.Run();
169   - }
170   -
171   - foreach(INeedSecondPassRegistration needSecondPassRegistration in NeedSecondPassRegistrations)
172   - {
173   - needSecondPassRegistration.RegisterSecondPass();
174   - }
175   - }
176   - }
177   - finally
178   - {
179   - NeedSecondPassRegistrations = null;
180   - }
  92 + {
  93 + Execute(container, () => abstractConfiguration.Run());
  94 + }
  95 +
  96 + public static void Execute(IWindsorContainer container, Action registrations)
  97 + {
  98 + using (AbstractConfigurationRunner.UseLocalContainer(container))
  99 + {
  100 + registrations();
  101 + }
181 102 }
182 103
  104 +
183 105 public static AbstractConfigurationRunner Read(IWindsorContainer container, Stream stream, string name, params string[] namespaces)
184 106 {
185 107 return Read(container, stream, name, "", namespaces);
@@ -204,26 +126,11 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, Stre
204 126 GenerationOptions generationOptions, string name,
205 127 string environment, params string[] namespaces)
206 128 {
207   - try
208   - {
209   - using (AbstractConfigurationRunner.UseLocalContainer(container))
210   - {
211   - AbstractConfigurationRunner conf = GetConfigurationInstanceFromStream(
212   - name, environment, container, stream, generationOptions, namespaces);
213   - using (AbstractConfigurationRunner.CaptureRegistrations())
214   - {
215   - conf.Run();
216   - }
217   - foreach (INeedSecondPassRegistration needSecondPassRegistration in NeedSecondPassRegistrations)
218   - {
219   - needSecondPassRegistration.RegisterSecondPass();
220   - }
221   - return conf;
222   - }
223   - }
224   - finally
225   - {
226   - NeedSecondPassRegistrations = null;
  129 + using (AbstractConfigurationRunner.UseLocalContainer(container))
  130 + {
  131 + var conf = GetConfigurationInstanceFromStream(name, environment, container, stream, generationOptions, namespaces);
  132 + conf.Run();
  133 + return conf;
227 134 }
228 135 }
229 136
@@ -231,9 +138,9 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, Stre
231 138 string fileName, string environment, IWindsorContainer container,
232 139 GenerationOptions generationOptions, params string[] namespaces)
233 140 {
234   - string baseDirectory = Path.GetDirectoryName(fileName);
235   - UrlResolverDelegate urlResolver = CreateWindorUrlResolver(container);
236   - using (TextReader reader = urlResolver(fileName, null))
  141 + string baseDirectory = Path.GetDirectoryName(fileName);
  142 + var urlResolver = CreateWindorUrlResolver(container);
  143 + using (var reader = urlResolver(fileName, null))
237 144 {
238 145 return GetConfigurationInstance(
239 146 Path.GetFileNameWithoutExtension(fileName), environment,
@@ -247,12 +154,11 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, Stre
247 154 public static AbstractConfigurationRunner GetConfigurationInstanceFromResource(
248 155 string name, string environment, IWindsorContainer container, CustomUri uri,
249 156 GenerationOptions generationOptions, params string[] namespaces)
250   - {
251   - IResourceSubSystem system =
252   - (IResourceSubSystem)container.Kernel.GetSubSystem(SubSystemConstants.ResourceKey);
253   - IResource resource = system.CreateResource(uri);
254   - string baseDirectory = Path.GetDirectoryName(uri.Path);
255   - UrlResolverDelegate urlResolver = CreateWindorUrlResolver(container);
  157 + {
  158 + var system = (IResourceSubSystem)container.Kernel.GetSubSystem(SubSystemConstants.ResourceKey);
  159 + var resource = system.CreateResource(uri);
  160 + string baseDirectory = Path.GetDirectoryName(uri.Path);
  161 + var urlResolver = CreateWindorUrlResolver(container);
256 162 return GetConfigurationInstance(
257 163 name, environment, new ReaderInput(name, resource.GetStreamReader()),
258 164 generationOptions, new AutoReferenceFilesCompilerStep(baseDirectory,urlResolver),
@@ -261,9 +167,9 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, Stre
261 167 public static AbstractConfigurationRunner GetConfigurationInstanceFromStream(
262 168 string name, string environment, IWindsorContainer container, Stream stream,
263 169 GenerationOptions generationOptions, params string[] namespaces)
264   - {
265   - UrlResolverDelegate urlResolver = CreateWindorUrlResolver(container);
266   - using (StreamReader reader = new StreamReader(stream))
  170 + {
  171 + var urlResolver = CreateWindorUrlResolver(container);
  172 + using (var reader = new StreamReader(stream))
267 173 {
268 174 return GetConfigurationInstance(
269 175 name, environment, new ReaderInput(name, reader),
@@ -276,13 +182,13 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, Stre
276 182 string name, string environment, ICompilerInput input,
277 183 GenerationOptions generationOptions, ICompilerStep autoReferenceStep,
278 184 params string[] namespaces)
279   - {
280   - BooCompiler compiler = new BooCompiler();
281   - compiler.Parameters.Ducky = true;
282   - if (generationOptions == GenerationOptions.Memory)
283   - compiler.Parameters.Pipeline = new CompileToMemory();
284   - else
285   - compiler.Parameters.Pipeline = new CompileToFile();
  185 + {
  186 + var compiler = new BooCompiler();
  187 + compiler.Parameters.Ducky = true;
  188 + compiler.Parameters.Pipeline =
  189 + generationOptions == GenerationOptions.Memory ?
  190 + new CompileToMemory() :
  191 + new CompileToFile();
286 192
287 193 compiler.Parameters.Pipeline.Insert(1, autoReferenceStep);
288 194 compiler.Parameters.Pipeline.Insert(2, new BinsorCompilerStep(environment, namespaces));
@@ -290,21 +196,21 @@ public static AbstractConfigurationRunner Read(IWindsorContainer container, Stre
290 196 typeof (ProcessMethodBodiesWithDuckTyping),
291 197 new TransformUnknownReferences());
292 198 compiler.Parameters.Pipeline.InsertAfter(typeof (TransformUnknownReferences),
293   - new RegisterComponentAndFacilitiesAfterCreation());
  199 + new RegisterAfterCreation());
294 200
295 201 compiler.Parameters.OutputType = CompilerOutputType.Library;
296 202 compiler.Parameters.Input.Add(input);
297 203 compiler.Parameters.References.Add(typeof (BooReader).Assembly);
298 204 compiler.Parameters.References.Add(typeof (MacroMacro).Assembly);
299 205
300   - TryAddAssembliesReferences(compiler.Parameters, "Rhino.Commons.NHibernate", "Rhino.Commons.ActiveRecord");
301   -
302   - CompilerContext run = compiler.Run();
  206 + TryAddAssembliesReferences(compiler.Parameters, "Rhino.Commons.NHibernate", "Rhino.Commons.ActiveRecord");
  207 +
  208 + var run = compiler.Run();
303 209 if (run.Errors.Count != 0)
304 210 {