Commit 9966aa8

mokhan <mokhan@ce5e1baf-6525-42e4-a1b2-857ea38da20a>
2009-04-20 14:53:39
git-svn-id: https://svn.xp-dev.com/svn/mokhan-mo.money@181 ce5e1baf-6525-42e4-a1b2-857ea38da20a
1 parent feb8c7b
Changed files (2)
trunk
product
Gorilla.Commons.Infrastructure.ThirdParty
trunk/product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/Interceptors/RunOnBackgrounThreadInterceptorSpecs.cs → trunk/product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/Interceptors/RunOnBackgroundThreadInterceptorSpecs.cs
@@ -12,15 +12,12 @@ namespace Gorilla.Commons.Infrastructure.Castle.DynamicProxy.Interceptors
     {
         context c = () => { thread_factory = the_dependency<IBackgroundThreadFactory>(); };
 
-        protected static IBackgroundThreadFactory thread_factory;
+        static protected IBackgroundThreadFactory thread_factory;
     }
 
     public class when_intercepting_a_call_to_a_method_that_takes_a_long_time_to_complete :
         behaves_like_background_thread_interceptor
     {
-        static IInvocation invocation;
-        static IBackgroundThread background_thread;
-
         context c = () =>
                         {
                             invocation = an<IInvocation>();
@@ -40,5 +37,8 @@ namespace Gorilla.Commons.Infrastructure.Castle.DynamicProxy.Interceptors
 
         it should_hide_the_progress_bar_when_the_invocation_is_completed =
             () => background_thread.was_told_to(b => b.Dispose());
+
+        static IInvocation invocation;
+        static IBackgroundThread background_thread;
     }
 }
\ No newline at end of file
trunk/product/Gorilla.Commons.Infrastructure.ThirdParty/Gorilla.Commons.Infrastructure.ThirdParty.csproj
@@ -110,7 +110,7 @@
     <Compile Include="Castle\DynamicProxy\Interceptors\MethodCallTracker.cs" />
     <Compile Include="Castle\DynamicProxy\Interceptors\MethodCallTrackerSpecs.cs" />
     <Compile Include="Castle\DynamicProxy\Interceptors\RunOnBackgroundThreadInterceptor.cs" />
-    <Compile Include="Castle\DynamicProxy\Interceptors\RunOnBackgrounThreadInterceptorSpecs.cs" />
+    <Compile Include="Castle\DynamicProxy\Interceptors\RunOnBackgroundThreadInterceptorSpecs.cs" />
     <Compile Include="Castle\DynamicProxy\Interceptors\SelectiveInterceptor.cs" />
     <Compile Include="Castle\DynamicProxy\IProxyBuilder.cs" />
     <Compile Include="Castle\DynamicProxy\IProxyFactory.cs" />