Commit 55159aa

unknown <mkhan@.arcresources.ca>
2009-10-20 14:17:30
renamed folders
1 parent 24f7ebc
product/Gorilla.Commons.Infrastructure/Logging/Log.cs
@@ -18,7 +18,7 @@ namespace Gorilla.Commons.Infrastructure.Logging
             }
             catch
             {
-                return new TextLogger(System.Console.Out);
+                return new TextLogger(Console.Out);
             }
         }
     }
product/Gorilla.Commons.Infrastructure/infrastructure.csproj
@@ -61,37 +61,37 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="Cloning\BinarySerializer.cs" />
-    <Compile Include="Cloning\BinarySerializerSpecs.cs" />
-    <Compile Include="Cloning\Serializer.cs" />
-    <Compile Include="Cloning\Prototype.cs" />
-    <Compile Include="Cloning\FileStreamSerializer.cs" />
-    <Compile Include="Container\DependencyResolutionException.cs" />
-    <Compile Include="Container\DependencyRegistry.cs" />
-    <Compile Include="Container\Resolve.cs" />
-    <Compile Include="Container\ResolveSpecs.cs" />
-    <Compile Include="Debugging\Launch.cs" />
-    <Compile Include="FileSystem\ApplicationFile.cs" />
-    <Compile Include="FileSystem\File.cs" />
-    <Compile Include="Logging\TextLogger.cs" />
-    <Compile Include="Logging\LogFactory.cs" />
-    <Compile Include="Logging\Loggable.cs" />
-    <Compile Include="Logging\Logger.cs" />
-    <Compile Include="Logging\Log.cs" />
-    <Compile Include="Logging\LoggingExtensions.cs" />
-    <Compile Include="Logging\LogSpecs.cs" />
-    <Compile Include="Proxies\ExceptionExtensions.cs" />
-    <Compile Include="Proxies\Interceptor.cs" />
-    <Compile Include="Proxies\Invocation.cs" />
-    <Compile Include="Proxies\MethodCallInvocation.cs" />
-    <Compile Include="Proxies\ProxyFactory.cs" />
-    <Compile Include="Proxies\ProxyFactorySpecs.cs" />
-    <Compile Include="Proxies\RemotingProxyFactory.cs" />
-    <Compile Include="Reflection\ApplicationAssembly.cs" />
-    <Compile Include="Reflection\EnvironmentExtensions.cs" />
-    <Compile Include="Reflection\Assembly.cs" />
-    <Compile Include="Registries\DefaultRegistry.cs" />
-    <Compile Include="Registries\DefaultRegistrySpecs.cs" />
+    <Compile Include="cloning\BinarySerializer.cs" />
+    <Compile Include="cloning\BinarySerializerSpecs.cs" />
+    <Compile Include="cloning\Serializer.cs" />
+    <Compile Include="cloning\Prototype.cs" />
+    <Compile Include="cloning\FileStreamSerializer.cs" />
+    <Compile Include="container\DependencyResolutionException.cs" />
+    <Compile Include="container\DependencyRegistry.cs" />
+    <Compile Include="container\Resolve.cs" />
+    <Compile Include="container\ResolveSpecs.cs" />
+    <Compile Include="debugging\Launch.cs" />
+    <Compile Include="filesystem\ApplicationFile.cs" />
+    <Compile Include="filesystem\File.cs" />
+    <Compile Include="logging\TextLogger.cs" />
+    <Compile Include="logging\LogFactory.cs" />
+    <Compile Include="logging\Loggable.cs" />
+    <Compile Include="logging\Logger.cs" />
+    <Compile Include="logging\Log.cs" />
+    <Compile Include="logging\LoggingExtensions.cs" />
+    <Compile Include="logging\LogSpecs.cs" />
+    <Compile Include="proxies\ExceptionExtensions.cs" />
+    <Compile Include="proxies\Interceptor.cs" />
+    <Compile Include="proxies\Invocation.cs" />
+    <Compile Include="proxies\MethodCallInvocation.cs" />
+    <Compile Include="proxies\ProxyFactory.cs" />
+    <Compile Include="proxies\ProxyFactorySpecs.cs" />
+    <Compile Include="proxies\RemotingProxyFactory.cs" />
+    <Compile Include="reflection\ApplicationAssembly.cs" />
+    <Compile Include="reflection\EnvironmentExtensions.cs" />
+    <Compile Include="reflection\Assembly.cs" />
+    <Compile Include="registries\DefaultRegistry.cs" />
+    <Compile Include="registries\DefaultRegistrySpecs.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Gorilla.Commons.Testing\test.helpers.csproj">
product/Gorilla.Commons.Infrastructure.ThirdParty/Autofac/AutofacDependencyRegistry.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using Autofac;
 using Gorilla.Commons.Infrastructure.Container;
 
-namespace Gorilla.Commons.Infrastructure.Autofac
+namespace gorilla.commons.infrastructure.thirdparty.autofac
 {
     internal class AutofacDependencyRegistry : DependencyRegistry
     {
product/Gorilla.Commons.Infrastructure.ThirdParty/Autofac/AutofacDependencyRegistryBuilder.cs
@@ -3,8 +3,8 @@ using Autofac;
 using Autofac.Builder;
 using Autofac.Modules;
 using AutofacContrib.DynamicProxy2;
-using Gorilla.Commons.Infrastructure.Autofac;
 using Gorilla.Commons.Infrastructure.Container;
+using gorilla.commons.infrastructure.thirdparty.autofac;
 using gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy;
 using gorilla.commons.utility;
 
product/Gorilla.Commons.Infrastructure.ThirdParty/Autofac/AutofacSpecs.cs
@@ -6,7 +6,7 @@ using Autofac.Modules;
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 
-namespace Gorilla.Commons.Infrastructure.Autofac
+namespace gorilla.commons.infrastructure.thirdparty.autofac
 {
     [Concern(typeof (ContainerBuilder))]
     public class when_trying_to_register_a_single_item_in_the_autofac_container : concerns
@@ -14,11 +14,11 @@ namespace Gorilla.Commons.Infrastructure.Autofac
         it should_resolve_that_item = () => result.should_be_an_instance_of<A>();
 
         context c = () =>
-                        {
-                            builder = new ContainerBuilder();
-                            builder.Register<A>().As<ITestItem>().FactoryScoped();
-                            container = builder.Build();
-                        };
+        {
+            builder = new ContainerBuilder();
+            builder.Register<A>().As<ITestItem>().FactoryScoped();
+            container = builder.Build();
+        };
 
         because b = () => { result = container.Resolve<ITestItem>(); };
 
@@ -33,20 +33,20 @@ namespace Gorilla.Commons.Infrastructure.Autofac
     public class when_trying_to_resolve_all_the_components_that_implement_a_common_interface : concerns
     {
         it should_return_each_component = () =>
-                                              {
-                                                  results.Count().should_be_equal_to(2);
-                                                  results.First().should_be_an_instance_of<A>();
-                                                  results.Skip(1).First().should_be_an_instance_of<B>();
-                                              };
+        {
+            results.Count().should_be_equal_to(2);
+            results.First().should_be_an_instance_of<A>();
+            results.Skip(1).First().should_be_an_instance_of<B>();
+        };
 
         context c = () =>
-                        {
-                            builder = new ContainerBuilder();
-                            builder.RegisterModule(new ImplicitCollectionSupportModule());
-                            builder.Register<A>().As<ITestItem>().FactoryScoped();
-                            builder.Register<B>().As<ITestItem>().FactoryScoped();
-                            container = builder.Build();
-                        };
+        {
+            builder = new ContainerBuilder();
+            builder.RegisterModule(new ImplicitCollectionSupportModule());
+            builder.Register<A>().As<ITestItem>().FactoryScoped();
+            builder.Register<B>().As<ITestItem>().FactoryScoped();
+            container = builder.Build();
+        };
 
         because b = () => { results = container.Resolve<IEnumerable<ITestItem>>(); };
 
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/Interceptors/SelectiveInterceptor.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using Castle.Core.Interceptor;
 
-namespace Gorilla.Commons.Infrastructure.Castle.DynamicProxy.Interceptors
+namespace gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy.Interceptors
 {
     public class SelectiveInterceptor : IInterceptor
     {
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/CastleDynamicProxyBuilder.cs
@@ -2,7 +2,7 @@ using System;
 using System.Collections.Generic;
 using System.Linq;
 using Castle.Core.Interceptor;
-using Gorilla.Commons.Infrastructure.Castle.DynamicProxy.Interceptors;
+using gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy.Interceptors;
 
 namespace gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy
 {
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/CastleDynamicProxyFactory.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using Castle.Core.Interceptor;
 using Castle.DynamicProxy;
-using Gorilla.Commons.Infrastructure.Castle.DynamicProxy;
+using gorilla.commons.infrastructure.thirdparty.castle.dynamicproxy;
 
 namespace gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy
 {
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/Lazy.cs
@@ -1,8 +1,8 @@
 using System;
 using Castle.Core.Interceptor;
 using Castle.DynamicProxy;
-using Gorilla.Commons.Infrastructure.Castle.DynamicProxy;
 using Gorilla.Commons.Infrastructure.Container;
+using gorilla.commons.infrastructure.thirdparty.castle.dynamicproxy;
 using gorilla.commons.utility;
 
 namespace gorilla.commons.infrastructure.thirdparty.Castle.DynamicProxy
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/LazyLoadedInterceptor.cs
@@ -1,7 +1,7 @@
 using System;
 using Castle.Core.Interceptor;
 
-namespace Gorilla.Commons.Infrastructure.Castle.DynamicProxy
+namespace gorilla.commons.infrastructure.thirdparty.castle.dynamicproxy
 {
     internal class LazyLoadedInterceptor<T> : IInterceptor
     {
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/Windsor/WindsorExtensions.cs
@@ -1,20 +1,20 @@
 using System;
 using Castle.MicroKernel.Registration;
 
-namespace Gorilla.Commons.Infrastructure.Castle.Windsor
+namespace gorilla.commons.infrastructure.thirdparty.castle.windsor
 {
     public static class WindsorExtensions
     {
         public static BasedOnDescriptor LastInterface(this ServiceDescriptor descriptor)
         {
             return descriptor.Select((type, base_type) =>
-                                         {
-                                             Type first = null;
-                                             var interfaces = type.GetInterfaces();
-                                             if (interfaces.Length > 0) first = interfaces[0];
+            {
+                Type first = null;
+                var interfaces = type.GetInterfaces();
+                if (interfaces.Length > 0) first = interfaces[0];
 
-                                             return (first != null) ? new[] {first} : null;
-                                         });
+                return (first != null) ? new[] {first} : null;
+            });
         }
     }
 }
\ No newline at end of file
product/Gorilla.Commons.Infrastructure.ThirdParty/Castle/DynamicProxy/Interceptors/SynchronizedInterceptor.cs → product/Gorilla.Commons.Infrastructure.ThirdParty/castle/dynamicproxy/interceptors/SynchronizeInvokeInterceptor.cs
@@ -3,13 +3,13 @@ using System.ComponentModel;
 using Castle.Core.Interceptor;
 using gorilla.commons.utility;
 
-namespace Gorilla.Commons.Infrastructure.Castle.DynamicProxy.Interceptors
+namespace gorilla.commons.infrastructure.thirdparty.castle.dynamicproxy.interceptors
 {
-    public interface ISynchronizedInterceptor : IInterceptor
+    public interface SynchronizedInterceptor : IInterceptor
     {
     }
 
-    public class SynchronizedInterceptor<T> : ISynchronizedInterceptor where T : ISynchronizeInvoke
+    public class SynchronizeInvokeInterceptor<T> : SynchronizedInterceptor where T : ISynchronizeInvoke
     {
         public void Intercept(IInvocation invocation)
         {
product/Gorilla.Commons.Infrastructure.ThirdParty/infrastructure.thirdparty.csproj
@@ -89,46 +89,46 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="Autofac\AutofacDependencyRegistry.cs" />
-    <Compile Include="Autofac\AutofacDependencyRegistryBuilder.cs" />
-    <Compile Include="Autofac\AutofacSpecs.cs" />
-    <Compile Include="Castle\DynamicProxy\CastleDynamicInterceptorConstraint.cs" />
-    <Compile Include="Castle\DynamicProxy\CastleDynamicInterceptorConstraintFactory.cs" />
-    <Compile Include="Castle\DynamicProxy\Interceptors\SynchronizedInterceptor.cs" />
-    <Compile Include="Castle\DynamicProxy\CastleDynamicMethodCallTrackerFactory.cs" />
-    <Compile Include="Castle\Windsor\Configuration\RegistrationConfiguration.cs" />
-    <Compile Include="Castle\Windsor\Configuration\LoggingInterceptor.cs" />
-    <Compile Include="Castle\Windsor\WindsorExtensions.cs" />
+    <Compile Include="autofac\AutofacDependencyRegistry.cs" />
+    <Compile Include="autofac\AutofacDependencyRegistryBuilder.cs" />
+    <Compile Include="autofac\AutofacSpecs.cs" />
+    <Compile Include="castle\dynamicproxy\CastleDynamicInterceptorConstraint.cs" />
+    <Compile Include="castle\dynamicproxy\CastleDynamicInterceptorConstraintFactory.cs" />
+    <Compile Include="castle\dynamicproxy\interceptors\SynchronizeInvokeInterceptor.cs" />
+    <Compile Include="castle\dynamicproxy\CastleDynamicMethodCallTrackerFactory.cs" />
+    <Compile Include="castle\windsor\configuration\RegistrationConfiguration.cs" />
+    <Compile Include="castle\windsor\configuration\LoggingInterceptor.cs" />
+    <Compile Include="castle\windsor\WindsorExtensions.cs" />
     <Compile Include="DependencyRegistration.cs" />
-    <Compile Include="Castle\DynamicProxy\ConstraintSelector.cs" />
-    <Compile Include="Castle\DynamicProxy\InterceptorConstraint.cs" />
-    <Compile Include="Castle\DynamicProxy\InterceptorConstraintFactory.cs" />
-    <Compile Include="Castle\DynamicProxy\MethodCallTrackerFactory.cs" />
-    <Compile Include="Castle\DynamicProxy\InterceptorConstraintFactorySpecs.cs" />
-    <Compile Include="Castle\DynamicProxy\InterceptorConstraintSpecs.cs" />
-    <Compile Include="Castle\DynamicProxy\Interceptors\MethodCallTracker.cs" />
-    <Compile Include="Castle\DynamicProxy\Interceptors\CastleDynamicMethodCallTracker.cs" />
-    <Compile Include="Castle\DynamicProxy\Interceptors\MethodCallTrackerSpecs.cs" />
-    <Compile Include="Castle\DynamicProxy\Interceptors\SelectiveInterceptor.cs" />
-    <Compile Include="Castle\DynamicProxy\ProxyBuilder.cs" />
-    <Compile Include="Castle\DynamicProxy\ProxyFactory.cs" />
-    <Compile Include="Castle\DynamicProxy\Lazy.cs" />
-    <Compile Include="Castle\DynamicProxy\LazyLoadedInterceptor.cs" />
-    <Compile Include="Castle\DynamicProxy\LazySpecs.cs" />
-    <Compile Include="Castle\DynamicProxy\CastleDynamicProxyBuilder.cs" />
-    <Compile Include="Castle\DynamicProxy\ProxyBuilderSpecs.cs" />
-    <Compile Include="Castle\DynamicProxy\CastleDynamicProxyFactory.cs" />
-    <Compile Include="Castle\DynamicProxy\ProxyFactorySpecs.cs" />
-    <Compile Include="Castle\Windsor\Configuration\ApplyLoggingInterceptor.cs" />
-    <Compile Include="Castle\Windsor\Configuration\ComponentRegistrationConfiguration.cs" />
-    <Compile Include="Castle\Windsor\Configuration\ConfigureComponentLifestyle.cs" />
-    <Compile Include="Castle\Windsor\Configuration\ComponentExclusionSpecification.cs" />
-    <Compile Include="Castle\Windsor\Configuration\LogComponent.cs" />
-    <Compile Include="Castle\Windsor\Configuration\LogEverythingInterceptor.cs" />
-    <Compile Include="Castle\Windsor\Configuration\RegisterComponentContract.cs" />
-    <Compile Include="Castle\Windsor\WindsorContainerFactory.cs" />
-    <Compile Include="Castle\Windsor\WindsorDependencyRegistry.cs" />
-    <Compile Include="Castle\Windsor\WindsorDependencyRegistrySpecs.cs" />
+    <Compile Include="castle\dynamicproxy\ConstraintSelector.cs" />
+    <Compile Include="castle\dynamicproxy\InterceptorConstraint.cs" />
+    <Compile Include="castle\dynamicproxy\InterceptorConstraintFactory.cs" />
+    <Compile Include="castle\dynamicproxy\MethodCallTrackerFactory.cs" />
+    <Compile Include="castle\dynamicproxy\InterceptorConstraintFactorySpecs.cs" />
+    <Compile Include="castle\dynamicproxy\InterceptorConstraintSpecs.cs" />
+    <Compile Include="castle\dynamicproxy\interceptors\MethodCallTracker.cs" />
+    <Compile Include="castle\dynamicproxy\interceptors\CastleDynamicMethodCallTracker.cs" />
+    <Compile Include="castle\dynamicproxy\interceptors\MethodCallTrackerSpecs.cs" />
+    <Compile Include="castle\dynamicproxy\interceptors\SelectiveInterceptor.cs" />
+    <Compile Include="castle\dynamicproxy\ProxyBuilder.cs" />
+    <Compile Include="castle\dynamicproxy\ProxyFactory.cs" />
+    <Compile Include="castle\dynamicproxy\Lazy.cs" />
+    <Compile Include="castle\dynamicproxy\LazyLoadedInterceptor.cs" />
+    <Compile Include="castle\dynamicproxy\LazySpecs.cs" />
+    <Compile Include="castle\dynamicproxy\CastleDynamicProxyBuilder.cs" />
+    <Compile Include="castle\dynamicproxy\ProxyBuilderSpecs.cs" />
+    <Compile Include="castle\dynamicproxy\CastleDynamicProxyFactory.cs" />
+    <Compile Include="castle\dynamicproxy\ProxyFactorySpecs.cs" />
+    <Compile Include="castle\windsor\configuration\ApplyLoggingInterceptor.cs" />
+    <Compile Include="castle\windsor\configuration\ComponentRegistrationConfiguration.cs" />
+    <Compile Include="castle\windsor\configuration\ConfigureComponentLifestyle.cs" />
+    <Compile Include="castle\windsor\configuration\ComponentExclusionSpecification.cs" />
+    <Compile Include="castle\windsor\configuration\LogComponent.cs" />
+    <Compile Include="castle\windsor\configuration\LogEverythingInterceptor.cs" />
+    <Compile Include="castle\windsor\configuration\RegisterComponentContract.cs" />
+    <Compile Include="castle\windsor\WindsorContainerFactory.cs" />
+    <Compile Include="castle\windsor\WindsorDependencyRegistry.cs" />
+    <Compile Include="castle\windsor\WindsorDependencyRegistrySpecs.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Gorilla.Commons.Infrastructure\infrastructure.csproj">
product/Gorilla.Commons.Testing/test.helpers.csproj
@@ -8,8 +8,8 @@
     <ProjectGuid>{44E65096-9657-4716-90F8-4535BABE8039}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Gorilla.Commons.Testing</RootNamespace>
-    <AssemblyName>Gorilla.Commons.Testing</AssemblyName>
+    <RootNamespace>gorilla.commons.testing</RootNamespace>
+    <AssemblyName>gorilla.commons.testing</AssemblyName>
     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
   </PropertyGroup>