Commit 3610ce8

mokhan <mokhan@ce5e1baf-6525-42e4-a1b2-857ea38da20a>
2009-04-19 13:54:37
updated namespaces.
git-svn-id: https://svn.xp-dev.com/svn/mokhan-mo.money@174 ce5e1baf-6525-42e4-a1b2-857ea38da20a
1 parent 7591e8c
trunk/product/MoMoney.Infrastructure/Transactions2/ChangeTracker.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/ChangeTracker.cs
@@ -5,7 +5,7 @@ using Gorilla.Commons.Infrastructure.Logging;
 using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class ChangeTracker<T> : IChangeTracker<T> where T : IIdentifiable<Guid>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/ChangeTrackerFactory.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/ChangeTrackerFactory.cs
@@ -2,7 +2,7 @@ using System;
 using Gorilla.Commons.Infrastructure.Container;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class ChangeTrackerFactory : IChangeTrackerFactory
     {
trunk/product/MoMoney.Infrastructure/Transactions2/ChangeTrackerFactorySpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/ChangeTrackerFactorySpecs.cs
@@ -3,7 +3,7 @@ using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class ChangeTrackerFactorySpecs
     {
trunk/product/MoMoney.Infrastructure/Transactions2/ChangeTrackerSpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/ChangeTrackerSpecs.cs
@@ -3,7 +3,7 @@ using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class ChangeTrackerSpecs
     {
trunk/product/MoMoney.Infrastructure/Transactions2/Context.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/Context.cs
@@ -1,6 +1,6 @@
 using System.Collections;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IContext
     {
trunk/product/MoMoney.Infrastructure/Transactions2/EmptyUnitOfWork.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/EmptyUnitOfWork.cs
@@ -1,4 +1,4 @@
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class EmptyUnitOfWork : IUnitOfWork
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IChangeTracker.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IChangeTracker.cs
@@ -1,7 +1,7 @@
 using System;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IChangeTracker : IDisposable
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IChangeTrackerFactory.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IChangeTrackerFactory.cs
@@ -1,7 +1,7 @@
 using System;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IChangeTrackerFactory
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IDatabase.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IDatabase.cs
@@ -2,7 +2,7 @@ using System;
 using System.Collections.Generic;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IDatabase
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IDatabaseConnection.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IDatabaseConnection.cs
@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IDatabaseConnection : IDisposable
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IdentityMapProxy.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IdentityMapProxy.cs
@@ -2,7 +2,7 @@ using System;
 using System.Collections.Generic;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class IdentityMapProxy<Key, Value> : IIdentityMap<Key, Value> where Value : IIdentifiable<Guid>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IdentityMapSpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IdentityMapSpecs.cs
@@ -1,7 +1,7 @@
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     [Concern(typeof (IdentityMap<,>))]
     public class behaves_like_identity_map : concerns_for<IIdentityMap<int, string>, IdentityMap<int, string>>
trunk/product/MoMoney.Infrastructure/Transactions2/IIdentityMap.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IIdentityMap.cs
@@ -1,6 +1,6 @@
 using System.Collections.Generic;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IIdentityMap<TKey, TValue>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IStatement.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IStatement.cs
@@ -1,4 +1,4 @@
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IStatement
     {
trunk/product/MoMoney.Infrastructure/Transactions2/IStatementRegistry.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/IStatementRegistry.cs
@@ -1,7 +1,7 @@
 using System;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IStatementRegistry
     {
trunk/product/MoMoney.Infrastructure/Transactions2/Session.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/Session.cs
@@ -4,7 +4,7 @@ using System.Linq;
 using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface ISession : IDisposable
     {
trunk/product/MoMoney.Infrastructure/Transactions2/SessionFactory.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/SessionFactory.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface ISessionFactory : IFactory<ISession>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/SessionFactorySpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/SessionFactorySpecs.cs
@@ -1,7 +1,7 @@
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class SessionFactorySpecs
     {
trunk/product/MoMoney.Infrastructure/Transactions2/SessionNotStartedException.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/SessionNotStartedException.cs
@@ -1,6 +1,6 @@
 using System;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class SessionNotStartedException : Exception
     {
trunk/product/MoMoney.Infrastructure/Transactions2/SessionProvider.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/SessionProvider.cs
@@ -1,4 +1,4 @@
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface ISessionProvider
     {
trunk/product/MoMoney.Infrastructure/Transactions2/SessionSpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/SessionSpecs.cs
@@ -4,7 +4,7 @@ using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class SessionSpecs
     {
trunk/product/MoMoney.Infrastructure/Transactions2/StatementRegistry.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/StatementRegistry.cs
@@ -2,7 +2,7 @@ using System;
 using Gorilla.Commons.Infrastructure.Logging;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class StatementRegistry : IStatementRegistry
     {
trunk/product/MoMoney.Infrastructure/Transactions2/TrackerEntry.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/TrackerEntry.cs
@@ -1,7 +1,7 @@
 using System.Reflection;
 using Gorilla.Commons.Infrastructure.Logging;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface ITrackerEntry<T>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/TrackerEntryMapper.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/TrackerEntryMapper.cs
@@ -1,7 +1,7 @@
 using Gorilla.Commons.Infrastructure.Cloning;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface ITrackerEntryMapper<T> : IMapper<T, ITrackerEntry<T>>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/TrackerEntrySpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/TrackerEntrySpecs.cs
@@ -4,7 +4,7 @@ using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class TrackerEntrySpecs
     {
trunk/product/MoMoney.Infrastructure/Transactions2/Transaction.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/Transaction.cs
@@ -4,7 +4,7 @@ using System.Linq;
 using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface ITransaction
     {
trunk/product/MoMoney.Infrastructure/Transactions2/TransactionSpecs.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/TransactionSpecs.cs
@@ -3,7 +3,7 @@ using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public class TransactionSpecs
     {
@@ -34,7 +34,7 @@ namespace MoMoney.Infrastructure.transactions2
 
     public class when_committing_a_transaction_and_an_item_in_the_identity_map_has_changed : behaves_like_transaction
     {
-        it should_commit_the_changes_to_that_item = () => tracker.was_told_to(x => x.commit_to(database));
+        it should_commit_the_changes_to_that_item = () => tracker.was_told_to<IChangeTracker<IMovie>>(x => x.commit_to(database));
 
         context c = () =>
                         {
trunk/product/MoMoney.Infrastructure/Transactions2/TypedKey.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/TypedKey.cs
@@ -1,6 +1,6 @@
 using System.Collections;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IKey<T>
     {
trunk/product/MoMoney.Infrastructure/Transactions2/UnitOfWork.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/UnitOfWork.cs
@@ -1,6 +1,6 @@
 using System;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IUnitOfWork : IDisposable
     {
trunk/product/MoMoney.Infrastructure/Transactions2/UnitOfWorkFactory.cs → trunk/product/Gorilla.Commons.Infrastructure/Transactions/UnitOfWorkFactory.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Utility.Core;
 
-namespace MoMoney.Infrastructure.transactions2
+namespace Gorilla.Commons.Infrastructure.Transactions
 {
     public interface IUnitOfWorkFactory : IFactory<IUnitOfWork>
     {
trunk/product/Gorilla.Commons.Infrastructure/Gorilla.Commons.Infrastructure.csproj
@@ -109,6 +109,36 @@
     <Compile Include="Threading\WorkerThread.cs">
       <SubType>Component</SubType>
     </Compile>
+    <Compile Include="Transactions\ChangeTracker.cs" />
+    <Compile Include="Transactions\ChangeTrackerFactory.cs" />
+    <Compile Include="Transactions\ChangeTrackerFactorySpecs.cs" />
+    <Compile Include="Transactions\ChangeTrackerSpecs.cs" />
+    <Compile Include="Transactions\Context.cs" />
+    <Compile Include="Transactions\EmptyUnitOfWork.cs" />
+    <Compile Include="Transactions\IChangeTracker.cs" />
+    <Compile Include="Transactions\IChangeTrackerFactory.cs" />
+    <Compile Include="Transactions\IDatabase.cs" />
+    <Compile Include="Transactions\IDatabaseConnection.cs" />
+    <Compile Include="Transactions\IdentityMapProxy.cs" />
+    <Compile Include="Transactions\IdentityMapSpecs.cs" />
+    <Compile Include="Transactions\IIdentityMap.cs" />
+    <Compile Include="Transactions\IStatement.cs" />
+    <Compile Include="Transactions\IStatementRegistry.cs" />
+    <Compile Include="Transactions\Session.cs" />
+    <Compile Include="Transactions\SessionFactory.cs" />
+    <Compile Include="Transactions\SessionFactorySpecs.cs" />
+    <Compile Include="Transactions\SessionNotStartedException.cs" />
+    <Compile Include="Transactions\SessionProvider.cs" />
+    <Compile Include="Transactions\SessionSpecs.cs" />
+    <Compile Include="Transactions\StatementRegistry.cs" />
+    <Compile Include="Transactions\TrackerEntry.cs" />
+    <Compile Include="Transactions\TrackerEntryMapper.cs" />
+    <Compile Include="Transactions\TrackerEntrySpecs.cs" />
+    <Compile Include="Transactions\Transaction.cs" />
+    <Compile Include="Transactions\TransactionSpecs.cs" />
+    <Compile Include="Transactions\TypedKey.cs" />
+    <Compile Include="Transactions\UnitOfWork.cs" />
+    <Compile Include="Transactions\UnitOfWorkFactory.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Gorilla.Commons.Testing\Gorilla.Commons.Testing.csproj">
trunk/product/MoMoney.DataAccess/Db40/ConnectionFactory.cs
@@ -1,7 +1,7 @@
 using Db4objects.Db4o;
 using Db4objects.Db4o.Config;
 using Gorilla.Commons.Infrastructure.FileSystem;
-using MoMoney.Infrastructure.transactions2;
+using Gorilla.Commons.Infrastructure.Transactions;
 
 namespace MoMoney.DataAccess.Db40
 {
trunk/product/MoMoney.DataAccess/Db40/DatabaseConnection.cs
@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using Db4objects.Db4o;
-using MoMoney.Infrastructure.transactions2;
+using Gorilla.Commons.Infrastructure.Transactions;
 
 namespace MoMoney.DataAccess.Db40
 {
trunk/product/MoMoney.DataAccess/Repositories/AccountHolderRepository.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
+using Gorilla.Commons.Infrastructure.Transactions;
 using MoMoney.Domain.accounting;
 using MoMoney.Domain.repositories;
-using MoMoney.Infrastructure.transactions2;
 
 namespace MoMoney.DataAccess.repositories
 {
trunk/product/MoMoney.DataAccess/Repositories/BillRepository.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
+using Gorilla.Commons.Infrastructure.Transactions;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.repositories;
-using MoMoney.Infrastructure.transactions2;
 
 namespace MoMoney.DataAccess.repositories
 {
trunk/product/MoMoney.DataAccess/Repositories/CompanyRepository.cs
@@ -1,10 +1,10 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
+using Gorilla.Commons.Infrastructure.Transactions;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.repositories;
-using MoMoney.Infrastructure.transactions2;
 
 namespace MoMoney.DataAccess.repositories
 {
trunk/product/MoMoney.DataAccess/Repositories/IncomeRepository.cs
@@ -1,7 +1,7 @@
 using System.Collections.Generic;
+using Gorilla.Commons.Infrastructure.Transactions;
 using MoMoney.Domain.accounting.financial_growth;
 using MoMoney.Domain.repositories;
-using MoMoney.Infrastructure.transactions2;
 
 namespace MoMoney.DataAccess.repositories
 {
trunk/product/MoMoney.DataAccess/IConnectionFactory.cs
@@ -1,5 +1,5 @@
 using Gorilla.Commons.Infrastructure.FileSystem;
-using MoMoney.Infrastructure.transactions2;
+using Gorilla.Commons.Infrastructure.Transactions;
 
 namespace MoMoney.DataAccess
 {
trunk/product/MoMoney.DataAccess/ObjectDatabase.cs
@@ -3,9 +3,9 @@ using System.Collections.Generic;
 using System.IO;
 using System.Linq;
 using Gorilla.Commons.Infrastructure.FileSystem;
+using Gorilla.Commons.Infrastructure.Transactions;
 using Gorilla.Commons.Utility.Core;
 using MoMoney.Domain.Core;
-using MoMoney.Infrastructure.transactions2;
 
 namespace MoMoney.DataAccess
 {
trunk/product/MoMoney.Infrastructure/Threading/RunOnUIThread.cs → trunk/product/MoMoney.Infrastructure/Interceptors/RunOnUIThread.cs
@@ -3,7 +3,7 @@ using Gorilla.Commons.Infrastructure.Threading;
 using Gorilla.Commons.Utility.Core;
 using MoMoney.Infrastructure.interceptors;
 
-namespace MoMoney.Infrastructure.Threading
+namespace MoMoney.Infrastructure.Interceptors
 {
     public class RunOnUIThread : IInterceptor
     {
trunk/product/MoMoney.Infrastructure/Transactions2/UnitOfWorkInterceptor.cs
@@ -1,34 +0,0 @@
-using Castle.Core.Interceptor;
-using Gorilla.Commons.Infrastructure.Eventing;
-using Gorilla.Commons.Infrastructure.Logging;
-using Gorilla.Commons.Utility.Core;
-
-namespace MoMoney.Infrastructure.transactions2
-{
-    public interface IUnitOfWorkInterceptor : IInterceptor
-    {
-    }
-
-    public class UnitOfWorkInterceptor : IUnitOfWorkInterceptor
-    {
-        readonly IEventAggregator broker;
-        readonly IUnitOfWorkFactory factory;
-
-        public UnitOfWorkInterceptor(IEventAggregator broker, IUnitOfWorkFactory factory)
-        {
-            this.broker = broker;
-            this.factory = factory;
-        }
-
-        public void Intercept(IInvocation invocation)
-        {
-            using (var unit_of_work = factory.create())
-            {
-                this.log().debug("intercepting: {0}", invocation);
-                invocation.Proceed();
-                broker.publish<ICallback<IUnitOfWork>>(x => x.run(unit_of_work));
-                unit_of_work.commit();
-            }
-        }
-    }
-}
\ No newline at end of file
trunk/product/MoMoney.Infrastructure/MoMoney.Infrastructure.csproj
@@ -132,38 +132,8 @@
     <Compile Include="Proxies\ProxyFactorySpecs.cs" />
     <Compile Include="Threading\Juval\Synchronizer.cs" />
     <Compile Include="Threading\Juval\WorkItem.cs" />
-    <Compile Include="Threading\RunOnUIThread.cs" />
-    <Compile Include="Transactions2\ChangeTracker.cs" />
-    <Compile Include="Transactions2\ChangeTrackerFactory.cs" />
-    <Compile Include="Transactions2\ChangeTrackerFactorySpecs.cs" />
-    <Compile Include="Transactions2\ChangeTrackerSpecs.cs" />
-    <Compile Include="Transactions2\Context.cs" />
-    <Compile Include="Transactions2\EmptyUnitOfWork.cs" />
-    <Compile Include="Transactions2\IChangeTracker.cs" />
-    <Compile Include="Transactions2\IChangeTrackerFactory.cs" />
-    <Compile Include="Transactions2\IDatabase.cs" />
-    <Compile Include="Transactions2\IDatabaseConnection.cs" />
-    <Compile Include="Transactions2\IdentityMapProxy.cs" />
-    <Compile Include="Transactions2\IdentityMapSpecs.cs" />
-    <Compile Include="Transactions2\IIdentityMap.cs" />
-    <Compile Include="Transactions2\IStatement.cs" />
-    <Compile Include="Transactions2\IStatementRegistry.cs" />
-    <Compile Include="Transactions2\Session.cs" />
-    <Compile Include="Transactions2\SessionFactory.cs" />
-    <Compile Include="Transactions2\SessionFactorySpecs.cs" />
-    <Compile Include="Transactions2\SessionNotStartedException.cs" />
-    <Compile Include="Transactions2\SessionProvider.cs" />
-    <Compile Include="Transactions2\SessionSpecs.cs" />
-    <Compile Include="Transactions2\StatementRegistry.cs" />
-    <Compile Include="Transactions2\TrackerEntry.cs" />
-    <Compile Include="Transactions2\TrackerEntryMapper.cs" />
-    <Compile Include="Transactions2\TrackerEntrySpecs.cs" />
-    <Compile Include="Transactions2\Transaction.cs" />
-    <Compile Include="Transactions2\TransactionSpecs.cs" />
-    <Compile Include="Transactions2\TypedKey.cs" />
-    <Compile Include="Transactions2\UnitOfWork.cs" />
-    <Compile Include="Transactions2\UnitOfWorkFactory.cs" />
-    <Compile Include="Transactions2\UnitOfWorkInterceptor.cs" />
+    <Compile Include="Interceptors\RunOnUIThread.cs" />
+    <Compile Include="Interceptors\UnitOfWorkInterceptor.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Gorilla.Commons.Infrastructure\Gorilla.Commons.Infrastructure.csproj">
trunk/product/MoMoney.Presentation/Model/Projects/ProjectController.cs
@@ -1,10 +1,10 @@
 using Gorilla.Commons.Infrastructure.Eventing;
 using Gorilla.Commons.Infrastructure.FileSystem;
 using Gorilla.Commons.Infrastructure.Logging;
+using Gorilla.Commons.Infrastructure.Transactions;
 using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.DataAccess;
-using MoMoney.Infrastructure.transactions2;
 using MoMoney.Presentation.Model.messages;
 
 namespace MoMoney.Presentation.Model.Projects
trunk/product/MoMoney.Presentation/Model/Projects/ProjectControllerSpecs.cs
@@ -2,10 +2,10 @@ using System;
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Infrastructure.Eventing;
 using Gorilla.Commons.Infrastructure.FileSystem;
+using Gorilla.Commons.Infrastructure.Transactions;
 using Gorilla.Commons.Testing;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.DataAccess;
-using MoMoney.Infrastructure.transactions2;
 using MoMoney.Presentation.Model.messages;
 
 namespace MoMoney.Presentation.Model.Projects
trunk/product/MyMoney/boot/container/registration/proxy_configuration/SynchronizedConfiguration.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Utility.Core;
+using MoMoney.Infrastructure.Interceptors;
 using MoMoney.Infrastructure.proxies;
-using MoMoney.Infrastructure.Threading;
 
 namespace MoMoney.boot.container.registration.proxy_configuration
 {
trunk/product/MyMoney/boot/container/registration/SynchronizedConfiguration.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Utility.Core;
+using MoMoney.Infrastructure.Interceptors;
 using MoMoney.Infrastructure.proxies;
-using MoMoney.Infrastructure.Threading;
 
 namespace MoMoney.boot.container.registration
 {
trunk/product/MyMoney/boot/container/registration/wire_up_the_data_access_components_into_the.cs
@@ -1,9 +1,9 @@
 using Gorilla.Commons.Infrastructure.Container;
+using Gorilla.Commons.Infrastructure.Transactions;
 using Gorilla.Commons.Utility.Core;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.DataAccess;
 using MoMoney.Infrastructure.Container;
-using MoMoney.Infrastructure.transactions2;
 
 namespace MoMoney.boot.container.registration
 {
trunk/product/MyMoney/boot/container/registration/wire_up_the_infrastructure_in_to_the.cs
@@ -1,10 +1,10 @@
 using Gorilla.Commons.Infrastructure.Eventing;
 using Gorilla.Commons.Infrastructure.Registries;
 using Gorilla.Commons.Infrastructure.Threading;
+using Gorilla.Commons.Infrastructure.Transactions;
 using Gorilla.Commons.Utility.Core;
 using MoMoney.Infrastructure.Container;
 //using MoMoney.Infrastructure.transactions;
-using MoMoney.Infrastructure.transactions2;
 using MoMoney.Presentation.Model.Projects;
 
 namespace MoMoney.boot.container.registration
trunk/product/MyMoney/boot/container/registration/wire_up_the_services_in_to_the.cs
@@ -3,8 +3,8 @@ using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.repositories;
 using MoMoney.Infrastructure.Container;
 using MoMoney.Infrastructure.interceptors;
+using MoMoney.Infrastructure.Interceptors;
 using MoMoney.Infrastructure.proxies;
-using MoMoney.Infrastructure.transactions2;
 using MoMoney.Tasks.application;
 
 namespace MoMoney.boot.container.registration