Commit 86f7c7f

mokhan <mokhan@ce5e1baf-6525-42e4-a1b2-857ea38da20a>
2009-04-21 22:03:55
git-svn-id: https://svn.xp-dev.com/svn/mokhan-mo.money@184 ce5e1baf-6525-42e4-a1b2-857ea38da20a
1 parent 0ec9832
trunk/product/MoMoney.Domain/Core/Clock.cs → trunk/product/Gorilla.Commons.Utility/Clock.cs
@@ -1,6 +1,6 @@
 using System;
 
-namespace MoMoney.Domain.Core
+namespace Gorilla.Commons.Utility
 {
     public static class Clock
     {
trunk/product/MoMoney.Domain/Core/date.cs → trunk/product/Gorilla.Commons.Utility/Date.cs
@@ -2,7 +2,7 @@ using System;
 using System.Globalization;
 using Gorilla.Commons.Utility.Extensions;
 
-namespace MoMoney.Domain.Core
+namespace Gorilla.Commons.Utility
 {
     public interface IDate : IComparable<IDate>, IComparable, IEquatable<IDate>
     {
@@ -13,7 +13,7 @@ namespace MoMoney.Domain.Core
     [Serializable]
     public class Date : IDate, IEquatable<Date>
     {
-        private readonly long ticks;
+        readonly long ticks;
 
         public Date(int year, int month, int day)
         {
@@ -30,12 +30,12 @@ namespace MoMoney.Domain.Core
             return new DateTime(ticks);
         }
 
-        public static implicit operator Date(DateTime date)
+        static public implicit operator Date(DateTime date)
         {
             return new Date(date.Year, date.Month, date.Day);
         }
 
-        public static implicit operator DateTime(Date date)
+        static public implicit operator DateTime(Date date)
         {
             return date.to_date_time();
         }
trunk/product/MoMoney.Domain/Core/date_specs.cs → trunk/product/Gorilla.Commons.Utility/DateSpecs.cs
@@ -1,8 +1,12 @@
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 
-namespace MoMoney.Domain.Core
+namespace Gorilla.Commons.Utility
 {
+    public class DateSpecs
+    {
+    }
+
     [Concern(typeof (Date))]
     public class when_two_dates_that_represent_the_same_day_are_asked_if_they_are_equal : concerns_for<IDate>
     {
trunk/product/Gorilla.Commons.Utility/Gorilla.Commons.Utility.csproj
@@ -57,6 +57,7 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="Clock.cs" />
     <Compile Include="Core\ActionCommand.cs" />
     <Compile Include="Core\AndSpecification.cs" />
     <Compile Include="Core\AnonymousDisposable.cs" />
@@ -91,6 +92,8 @@
     <Compile Include="Core\OrSpecificationSpecs.cs" />
     <Compile Include="Core\PredicateSpecification.cs" />
     <Compile Include="Core\PredicateSpecificationSpecs.cs" />
+    <Compile Include="Date.cs" />
+    <Compile Include="DateSpecs.cs" />
     <Compile Include="Extensions\CommandExtensions.cs" />
     <Compile Include="Extensions\ConfigurationExtensions.cs" />
     <Compile Include="Extensions\ConversionExtensions.cs" />
@@ -108,6 +111,9 @@
     <Compile Include="Extensions\TypeExtensions.cs" />
     <Compile Include="Extensions\TypeExtensionsSpecs.cs" />
     <Compile Include="Extensions\VisitorExtensions.cs" />
+    <Compile Include="IYear.cs" />
+    <Compile Include="Percent.cs" />
+    <Compile Include="PercentSpecs.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Gorilla.Commons.Testing\Gorilla.Commons.Testing.csproj">
trunk/product/MoMoney.Domain/Core/IYear.cs → trunk/product/Gorilla.Commons.Utility/IYear.cs
@@ -1,6 +1,6 @@
 using System;
 
-namespace MoMoney.Domain.Core
+namespace Gorilla.Commons.Utility
 {
     public interface IYear
     {
trunk/product/MoMoney.Domain/Core/Percent.cs → trunk/product/Gorilla.Commons.Utility/Percent.cs
@@ -1,7 +1,7 @@
 using System;
 using System.Globalization;
 
-namespace MoMoney.Domain.Core
+namespace Gorilla.Commons.Utility
 {
     public class Percent
     {
trunk/product/MoMoney.Domain/Core/PercentSpecs.cs → trunk/product/Gorilla.Commons.Utility/PercentSpecs.cs
@@ -1,7 +1,7 @@
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
 
-namespace MoMoney.Domain.Core
+namespace Gorilla.Commons.Utility
 {
     public class when_comparing_fifty_divided_by_one_hundred_to_fifty_percent : concerns
     {
trunk/product/MoMoney.Domain/Accounting/Billing/Bill.cs
@@ -1,5 +1,6 @@
 using System;
 using System.Collections.Generic;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.Core;
 
trunk/product/MoMoney.Domain/Accounting/Billing/Company.cs
@@ -1,4 +1,5 @@
 using System;
+using Gorilla.Commons.Utility;
 using MoMoney.Domain.accounting.financial_growth;
 using MoMoney.Domain.Core;
 
trunk/product/MoMoney.Domain/Accounting/Growth/income.cs
@@ -1,4 +1,5 @@
 using System;
+using Gorilla.Commons.Utility;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.Core;
 
trunk/product/MoMoney.Domain/Accounting/Growth/income_extensions.cs
@@ -1,4 +1,5 @@
 using System.Collections.Generic;
+using Gorilla.Commons.Utility;
 using MoMoney.Domain.Core;
 
 namespace MoMoney.Domain.accounting.financial_growth
trunk/product/MoMoney.Domain/Accounting/AccountHolder.cs
@@ -1,5 +1,6 @@
 using System;
 using System.Collections.Generic;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Extensions;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.accounting.financial_growth;
trunk/product/MoMoney.Domain/Core/DateExtensions.cs
@@ -1,4 +1,5 @@
 using System;
+using Gorilla.Commons.Utility;
 
 namespace MoMoney.Domain.Core
 {
trunk/product/MoMoney.Domain/MoMoney.Domain.csproj
@@ -73,21 +73,15 @@
     <Compile Include="Accounting\Growth\income.cs" />
     <Compile Include="Accounting\Growth\income_extensions.cs" />
     <Compile Include="Accounting\IInvoice.cs" />
-    <Compile Include="Core\Clock.cs" />
-    <Compile Include="Core\date.cs" />
     <Compile Include="Core\DateExtensions.cs" />
-    <Compile Include="Core\date_specs.cs" />
     <Compile Include="Core\day.cs" />
     <Compile Include="Core\Entity.cs" />
-    <Compile Include="Core\IYear.cs" />
     <Compile Include="Core\Money.cs" />
     <Compile Include="Core\MoneyExtensions.cs" />
     <Compile Include="Core\MoneyExtensionsSpecs.cs" />
     <Compile Include="Core\MoneySpecs.cs" />
     <Compile Include="Core\Month.cs" />
     <Compile Include="Core\Months.cs" />
-    <Compile Include="Core\Percent.cs" />
-    <Compile Include="Core\PercentSpecs.cs" />
     <Compile Include="Core\range.cs" />
     <Compile Include="Core\range_specs.cs" />
     <Compile Include="Repositories\IAccountHolderRepository.cs" />
trunk/product/MoMoney.Presentation/Model/Messages/closing_project_event.cs → trunk/product/MoMoney.Presentation/Model/Messages/ClosingProjectEvent.cs
File renamed without changes
trunk/product/MoMoney.Presentation/Model/Messages/closing_the_application.cs → trunk/product/MoMoney.Presentation/Model/Messages/ClosingTheApplication.cs
File renamed without changes
trunk/product/MoMoney.Presentation/Model/Messages/new_project_opened.cs → trunk/product/MoMoney.Presentation/Model/Messages/NewProjectOpened.cs
File renamed without changes
trunk/product/MoMoney.Presentation/Model/Messages/saved_changes_event.cs → trunk/product/MoMoney.Presentation/Model/Messages/SavedChangesEvent.cs
File renamed without changes
trunk/product/MoMoney.Presentation/Model/Messages/unsaved_changes_event.cs → trunk/product/MoMoney.Presentation/Model/Messages/UnsavedChangesEvent.cs
File renamed without changes
trunk/product/MoMoney.Presentation/Model/Navigation/add_bill_payment_branch.cs → trunk/product/MoMoney.Presentation/Model/Navigation/AddBillPaymentBranch.cs
@@ -2,13 +2,13 @@ using MoMoney.Presentation.Presenters.billing;
 using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Resources;
 
-namespace MoMoney.Presentation.Model.Navigation.branches
+namespace MoMoney.Presentation.Model.Navigation
 {
-    public class add_bill_payment_branch : IBranchVisitor
+    public class AddBillPaymentBranch : IBranchVisitor
     {
         readonly IRunPresenterCommand command;
 
-        public add_bill_payment_branch(IRunPresenterCommand command)
+        public AddBillPaymentBranch(IRunPresenterCommand command)
         {
             this.command = command;
         }
trunk/product/MoMoney.Presentation/Model/Navigation/add_new_bill_branch.cs → trunk/product/MoMoney.Presentation/Model/Navigation/AddNewBillBranch.cs
@@ -2,13 +2,13 @@ using MoMoney.Presentation.Presenters;
 using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Resources;
 
-namespace MoMoney.Presentation.Model.Navigation.branches
+namespace MoMoney.Presentation.Model.Navigation
 {
-    public class add_new_bill_branch : IBranchVisitor
+    public class AddNewBillBranch : IBranchVisitor
     {
         readonly IRunPresenterCommand command;
 
-        public add_new_bill_branch(IRunPresenterCommand command)
+        public AddNewBillBranch(IRunPresenterCommand command)
         {
             this.command = command;
         }
trunk/product/MoMoney.Presentation/Model/Navigation/AddNewIncomeBranch.cs
@@ -1,7 +1,7 @@
 using Gorilla.Commons.Utility.Core;
 using MoMoney.Presentation.Resources;
 
-namespace MoMoney.Presentation.Model.Navigation.branches
+namespace MoMoney.Presentation.Model.Navigation
 {
     public class AddNewIncomeBranch : IBranchVisitor
     {
trunk/product/MoMoney.Presentation/Model/Navigation/IBranchVisitor.cs
@@ -3,5 +3,6 @@ using Gorilla.Commons.Utility.Core;
 namespace MoMoney.Presentation.Model.Navigation
 {
     public interface IBranchVisitor : IVisitor<ITreeBranch>
-    {}
+    {
+    }
 }
\ No newline at end of file
trunk/product/MoMoney.Presentation/Model/Navigation/navigation_tree_visitor_specs.cs → trunk/product/MoMoney.Presentation/Model/Navigation/NavigationTreeVisitorSpecs.cs
@@ -9,11 +9,6 @@ namespace MoMoney.Presentation.Model.Navigation
     public abstract class behaves_like_a_navigation_tree_visitor :
         concerns_for<INavigationTreeVisitor, NavigationTreeVisitor>
     {
-        //public override INavigationTreeVisitor create_sut()
-        //{
-        //    return new NavigationTreeVisitor(factory, registry);
-        //}
-
         context c = () =>
                         {
                             factory = the_dependency<ITreeViewToRootNodeMapper>();
@@ -32,21 +27,17 @@ namespace MoMoney.Presentation.Model.Navigation
                                                                  root_node.was_told_to(x => x.accept(second_visitor));
                                                              };
 
-        context c = () =>
-                        {
-                            tree_view = dependency<TreeView>();
-                            root_node = an<ITreeBranch>();
-                            first_visitor = an<IBranchVisitor>();
-                            second_visitor = an<IBranchVisitor>();
-
-                            when_the(factory)
-                                .is_told_to(x => x.map_from(tree_view))
-                                .it_will_return(root_node);
-
-                            when_the(registry)
-                                .is_told_to(x => x.all())
-                                .it_will_return(first_visitor, second_visitor);
-                        };
+        context c =
+            () =>
+                {
+                    tree_view = dependency<TreeView>();
+                    root_node = an<ITreeBranch>();
+                    first_visitor = an<IBranchVisitor>();
+                    second_visitor = an<IBranchVisitor>();
+
+                    when_the(factory).is_told_to(x => x.map_from(tree_view)).it_will_return(root_node);
+                    when_the(registry).is_told_to(x => x.all()).it_will_return(first_visitor, second_visitor);
+                };
 
         because b = () => sut.visit(tree_view);
 
trunk/product/MoMoney.Presentation/Model/Navigation/tree_branch_specs.cs → trunk/product/MoMoney.Presentation/Model/Navigation/TreeBranchSpecs.cs
@@ -6,6 +6,10 @@ using Rhino.Mocks;
 
 namespace MoMoney.Presentation.Model.Navigation
 {
+    public class TreeBranchSpecs
+    {
+    }
+
     [Concern(typeof (TreeBranch))]
     public abstract class behaves_like_a_tree_branch : concerns_for<ITreeBranch, TreeBranch>
     {
@@ -20,8 +24,8 @@ namespace MoMoney.Presentation.Model.Navigation
             return new TreeBranch(tree_node, command);
         }
 
-        protected static TreeNode tree_node;
-        protected static ICommand command;
+        static protected TreeNode tree_node;
+        static protected ICommand command;
     }
 
     public class when_accepting_a_visitor_that_visits_tree_nodes : behaves_like_a_tree_branch
trunk/product/MoMoney.Presentation/Model/Navigation/view_all_bills_branch.cs → trunk/product/MoMoney.Presentation/Model/Navigation/ViewAllBillsBranch.cs
@@ -2,13 +2,13 @@ using MoMoney.Presentation.Presenters.billing;
 using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Resources;
 
-namespace MoMoney.Presentation.Model.Navigation.branches
+namespace MoMoney.Presentation.Model.Navigation
 {
-    public class view_all_bills_branch : IBranchVisitor
+    public class ViewAllBillsBranch : IBranchVisitor
     {
         private readonly IRunThe<IViewAllBillsPresenter> command;
 
-        public view_all_bills_branch(IRunThe<IViewAllBillsPresenter> command)
+        public ViewAllBillsBranch(IRunThe<IViewAllBillsPresenter> command)
         {
             this.command = command;
         }
trunk/product/MoMoney.Presentation/Model/Navigation/view_all_bills_report_branch.cs → trunk/product/MoMoney.Presentation/Model/Navigation/ViewAllBillsReportBranch.cs
@@ -2,13 +2,13 @@ using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Presenters.reporting;
 using MoMoney.Presentation.Resources;
 
-namespace MoMoney.Presentation.Model.Navigation.branches
+namespace MoMoney.Presentation.Model.Navigation
 {
-    public class view_all_bills_report_branch : IBranchVisitor
+    public class ViewAllBillsReportBranch : IBranchVisitor
     {
         private readonly IRunThe<IViewAllBillsReportPresenter> command;
 
-        public view_all_bills_report_branch(IRunThe<IViewAllBillsReportPresenter> command)
+        public ViewAllBillsReportBranch(IRunThe<IViewAllBillsReportPresenter> command)
         {
             this.command = command;
         }
trunk/product/MoMoney.Presentation/Model/Projects/file_not_specified_exception.cs → trunk/product/MoMoney.Presentation/Model/Projects/FileNotSpecifiedException.cs
File renamed without changes
trunk/product/MoMoney.Presentation/Model/Reporting/report_binding_extensions.cs → trunk/product/MoMoney.Presentation/Model/Reporting/ReportBindingExtensions.cs
@@ -5,7 +5,7 @@ using Gorilla.Commons.Utility.Extensions;
 
 namespace MoMoney.Presentation.Model.reporting
 {
-    public static class report_binding_extensions
+    public static class ReportBindingExtensions
     {
         public static void bind_to<T, K>(this ARControl control, Expression<Func<T, K>> func)
         {
trunk/product/MoMoney.Presentation/Model/Reporting/report_binding_extensions_specs.cs → trunk/product/MoMoney.Presentation/Model/Reporting/ReportBindingExtensionsSpecs.cs
@@ -5,7 +5,11 @@ using Gorilla.Commons.Testing;
 
 namespace MoMoney.Presentation.Model.reporting
 {
-    [Concern(typeof (report_binding_extensions))]
+    public class ReportBindingExtensionsSpecs
+    {
+    }
+
+    [Concern(typeof (ReportBindingExtensions))]
     public class when_binding_a_active_report_control_to_a_string_property_of_a_dto : concerns
     {
         it should_set_the_controls_datafield_property_to_the_name_of_the_dtos_property =
@@ -18,7 +22,7 @@ namespace MoMoney.Presentation.Model.reporting
         static ARControl control;
     }
 
-    [Concern(typeof (report_binding_extensions))]
+    [Concern(typeof (ReportBindingExtensions))]
     public class when_binding_a_active_report_control_to_a_date_time_property_of_a_dto : concerns
     {
         it should_set_the_controls_datafield_property_to_the_name_of_the_dtos_property =
trunk/product/MoMoney.Presentation/Presenters/Commands/RunThe.cs
@@ -1,3 +1,4 @@
+using Gorilla.Commons.Infrastructure.Threading;
 using Gorilla.Commons.Utility.Core;
 using MoMoney.Presentation.Core;
 
@@ -9,16 +10,18 @@ namespace MoMoney.Presentation.Presenters.Commands
 
     public class RunThe<Presenter> : IRunThe<Presenter> where Presenter : IPresenter
     {
-        readonly IApplicationController applicationController;
+        readonly IApplicationController application_controller;
+        readonly ICommandProcessor processor;
 
-        public RunThe(IApplicationController applicationController)
+        public RunThe(IApplicationController application_controller, ICommandProcessor processor)
         {
-            this.applicationController = applicationController;
+            this.application_controller = application_controller;
+            this.processor = processor;
         }
 
         public void run()
         {
-            applicationController.run<Presenter>();
+            processor.add(() => application_controller.run<Presenter>());
         }
     }
 }
\ No newline at end of file
trunk/product/MoMoney.Presentation/Presenters/Commands/run_the_specs.cs → trunk/product/MoMoney.Presentation/Presenters/Commands/RunTheSpecs.cs
@@ -4,6 +4,10 @@ using MoMoney.Presentation.Core;
 
 namespace MoMoney.Presentation.Presenters.Commands
 {
+    public class RunTheSpecs
+    {
+    }
+
     [Concern(typeof (RunThe<>))]
     public class when_initializing_different_regions_of_the_user_interface :
         concerns_for<IRunThe<IPresenter>, RunThe<IPresenter>>
trunk/product/MoMoney.Presentation/Presenters/Excel/change_font_size.cs → trunk/product/MoMoney.Presentation/Presenters/Excel/ChangeFontSize.cs
@@ -1,10 +1,12 @@
-namespace MoMoney.Presentation.Presenters.excel.formatting
+using MoMoney.Presentation.Presenters.excel;
+
+namespace MoMoney.Presentation.Presenters.Excel
 {
-    public class change_font_size : ICellVisitor
+    public class ChangeFontSize : ICellVisitor
     {
         private readonly int font_size;
 
-        public change_font_size(int font_size)
+        public ChangeFontSize(int font_size)
         {
             this.font_size = font_size;
         }
trunk/product/MoMoney.Presentation/Presenters/Excel/composite_cell_visitor.cs → trunk/product/MoMoney.Presentation/Presenters/Excel/CompositeCellVisitor.cs
@@ -3,11 +3,11 @@ using Gorilla.Commons.Utility.Extensions;
 
 namespace MoMoney.Presentation.Presenters.excel
 {
-    public class composite_cell_visitor : ICellVisitor
+    public class CompositeCellVisitor : ICellVisitor
     {
         private readonly IList<ICellVisitor> all_visitors;
 
-        public composite_cell_visitor()
+        public CompositeCellVisitor()
         {
             all_visitors = new List<ICellVisitor>();
         }
trunk/product/MoMoney.Presentation/Presenters/Excel/constrained_cell_visitor.cs → trunk/product/MoMoney.Presentation/Presenters/Excel/ConstrainedCellVisitor.cs
@@ -2,12 +2,12 @@ using Gorilla.Commons.Utility.Core;
 
 namespace MoMoney.Presentation.Presenters.excel
 {
-    public class constrained_cell_visitor : ICellVisitor
+    public class ConstrainedCellVisitor : ICellVisitor
     {
         private readonly ICellVisitor cell_visitor;
         private readonly ISpecification<ICell> constraint;
 
-        public constrained_cell_visitor(ICellVisitor cell_visitor, ISpecification<ICell> constraint)
+        public ConstrainedCellVisitor(ICellVisitor cell_visitor, ISpecification<ICell> constraint)
         {
             this.cell_visitor = cell_visitor;
             this.constraint = constraint;
trunk/product/MoMoney.Presentation/Presenters/Excel/excel_usage.cs → trunk/product/MoMoney.Presentation/Presenters/Excel/ExcelUsage.cs
@@ -1,15 +1,15 @@
 using System.Collections.Generic;
 using Gorilla.Commons.Utility.Extensions;
-using MoMoney.Presentation.Presenters.excel.formatting;
+using MoMoney.Presentation.Presenters.Excel;
 
 namespace MoMoney.Presentation.Presenters.excel
 {
-    public class excel_usage
+    public class ExcelUsage
     {
         public IEnumerable<ICellVisitor> run()
         {
-            yield return new constrained_cell_visitor(
-                new change_font_size(8),
+            yield return new ConstrainedCellVisitor(
+                new ChangeFontSize(8),
                 Cell.occurs_between_columns(3, 8)
                     .and(Cell.occurs_after_row(5))
                     .or(Cell.is_named("P3")));
trunk/product/MoMoney.Presentation/Presenters/Excel/format_back_color.cs → trunk/product/MoMoney.Presentation/Presenters/Excel/FormatBackColor.cs
@@ -1,12 +1,13 @@
 using System.Drawing;
+using MoMoney.Presentation.Presenters.excel;
 
-namespace MoMoney.Presentation.Presenters.excel.formatting
+namespace MoMoney.Presentation.Presenters.Excel
 {
-    public class format_back_color : ICellVisitor
+    public class FormatBackColor : ICellVisitor
     {
         private readonly Color color;
 
-        public format_back_color(Color color)
+        public FormatBackColor(Color color)
         {
             this.color = color;
         }
trunk/product/MoMoney.Presentation/Presenters/Income/AddNewIncomePresenterSpecs.cs
@@ -1,4 +1,3 @@
-using System;
 using System.Collections.Generic;
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Infrastructure;
@@ -12,7 +11,8 @@ using MoMoney.Tasks.application;
 namespace MoMoney.Presentation.Presenters.income
 {
     [Concern(typeof (AddNewIncomePresenter))]
-    public abstract class behaves_like_add_new_income_presenter : concerns_for<IAddNewIncomePresenter, AddNewIncomePresenter>
+    public abstract class behaves_like_add_new_income_presenter :
+        concerns_for<IAddNewIncomePresenter, AddNewIncomePresenter>
     {
         context c = () =>
                         {
@@ -20,20 +20,20 @@ namespace MoMoney.Presentation.Presenters.income
                             pump = the_dependency<ICommandPump>();
                         };
 
-        protected static ICommandPump pump;
-        protected static IAddNewIncomeView view;
+        static protected ICommandPump pump;
+        static protected IAddNewIncomeView view;
     }
 
-    public class when_depositing_new_income_from_a_company : behaves_like_add_new_income_presenter
+    [Concern(typeof (AddNewIncomePresenter))]
+    public class when_new_income_is_submitted : behaves_like_add_new_income_presenter
     {
-        it should_add_the_income_to_the_account_holders_account = () => pump.was_told_to(x => x.run<IAddNewIncomeCommand, IncomeSubmissionDto>(income));
+        it should_add_the_income_to_the_account_holders_account =
+            () => pump.was_told_to(x => x.run<IAddNewIncomeCommand, IncomeSubmissionDto>(income));
 
-        it should_display_the_new_income = () => pump.was_told_to(x => x.run<IEnumerable<IncomeInformationDTO>, IGetAllIncomeQuery>(view));
+        it should_display_the_new_income =
+            () => pump.was_told_to(x => x.run<IEnumerable<IncomeInformationDTO>, IGetAllIncomeQuery>(view));
 
-        context c = () =>
-                        {
-                            income = new IncomeSubmissionDto {};
-                        };
+        context c = () => { income = new IncomeSubmissionDto {}; };
 
         because b = () => sut.submit_new(income);
 
@@ -43,15 +43,16 @@ namespace MoMoney.Presentation.Presenters.income
     [Concern(typeof (AddNewIncomePresenter))]
     public class when_loaded : behaves_like_add_new_income_presenter
     {
-        it should_display_a_list_of_all_the_registered_company_to_select = () => pump.was_told_to(x => x.run<IEnumerable<CompanyDTO>, IGetAllCompanysQuery>(view));
+        it should_display_a_list_of_all_the_registered_company_to_select =
+            () => pump.was_told_to(x => x.run<IEnumerable<CompanyDTO>, IGetAllCompanysQuery>(view));
 
         it should_bind_a_presenter_to_the_screen = () => view.was_told_to(x => x.attach_to(sut));
 
-        it should_display_the_income_already_added = () => pump.was_told_to(x => x.run<IEnumerable<IncomeInformationDTO>, IGetAllIncomeQuery>(view));
+        it should_display_the_income_already_added =
+            () => pump.was_told_to(x => x.run<IEnumerable<IncomeInformationDTO>, IGetAllIncomeQuery>(view));
 
         context c = () => { };
 
         because b = () => sut.run();
     }
-
 }
\ No newline at end of file
trunk/product/MoMoney.Presentation/Presenters/Shell/StatusBarPresenter.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Infrastructure.Eventing;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Extensions;
-using MoMoney.Domain.Core;
 using MoMoney.Modules.Core;
 using MoMoney.Presentation.Model.messages;
 using MoMoney.Presentation.Resources;
trunk/product/MoMoney.Presentation/Presenters/Updates/CheckForUpdatesPresenter.cs
@@ -1,7 +1,7 @@
 using Gorilla.Commons.Infrastructure;
 using Gorilla.Commons.Infrastructure.Logging;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Domain.Core;
 using MoMoney.Presentation.Core;
 using MoMoney.Presentation.Model.updates;
 using MoMoney.Presentation.Presenters.Commands;
trunk/product/MoMoney.Presentation/Presenters/Updates/CheckForUpdatesPresenterSpecs.cs
@@ -1,8 +1,8 @@
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Infrastructure;
 using Gorilla.Commons.Testing;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Domain.Core;
 using MoMoney.Presentation.Model.updates;
 using MoMoney.Presentation.Presenters.Commands;
 using MoMoney.Presentation.Views.updates;
trunk/product/MoMoney.Presentation/Views/Updates/CheckForUpdatesView.cs
@@ -1,8 +1,8 @@
 using System;
 using System.Reflection;
 using System.Windows.Forms;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Windows.Forms;
-using MoMoney.Domain.Core;
 using MoMoney.Presentation.Model.updates;
 using MoMoney.Presentation.Presenters.updates;
 using MoMoney.Presentation.Resources;
trunk/product/MoMoney.Presentation/Views/Updates/ICheckForUpdatesView.cs
@@ -1,5 +1,5 @@
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Domain.Core;
 using MoMoney.Presentation.Model.updates;
 using MoMoney.Presentation.Presenters.updates;
 using MoMoney.Presentation.Views.core;
trunk/product/MoMoney.Presentation/MoMoney.Presentation.csproj
@@ -123,48 +123,47 @@
     <Compile Include="Model\Menu\SubMenuRegistry.cs" />
     <Compile Include="Model\Menu\ToolBarItemBuilder.cs" />
     <Compile Include="Model\Menu\Window\WindowMenu.cs" />
-    <Compile Include="Model\Messages\closing_project_event.cs" />
-    <Compile Include="Model\Messages\closing_the_application.cs" />
-    <Compile Include="Model\Messages\new_project_opened.cs" />
-    <Compile Include="Model\Messages\saved_changes_event.cs" />
+    <Compile Include="Model\Messages\ClosingProjectEvent.cs" />
+    <Compile Include="Model\Messages\ClosingTheApplication.cs" />
+    <Compile Include="Model\Messages\NewProjectOpened.cs" />
+    <Compile Include="Model\Messages\SavedChangesEvent.cs" />
     <Compile Include="Model\Messages\UnhandledErrorOccurred.cs" />
-    <Compile Include="Model\Messages\unsaved_changes_event.cs" />
+    <Compile Include="Model\Messages\UnsavedChangesEvent.cs" />
     <Compile Include="Model\Navigation\AddNewIncomeBranch.cs" />
-    <Compile Include="Model\Navigation\add_bill_payment_branch.cs" />
-    <Compile Include="Model\Navigation\add_new_bill_branch.cs" />
+    <Compile Include="Model\Navigation\AddBillPaymentBranch.cs" />
+    <Compile Include="Model\Navigation\AddNewBillBranch.cs" />
     <Compile Include="Model\Navigation\IBranchVisitor.cs" />
     <Compile Include="Model\Navigation\NavigationTreeVisitor.cs" />
-    <Compile Include="Model\Navigation\navigation_tree_visitor_specs.cs" />
+    <Compile Include="Model\Navigation\NavigationTreeVisitorSpecs.cs" />
     <Compile Include="Model\Navigation\TreeBranch.cs" />
     <Compile Include="Model\Navigation\TreeViewToRootNodeMapper.cs" />
-    <Compile Include="Model\Navigation\tree_branch_specs.cs" />
-    <Compile Include="Model\Navigation\view_all_bills_branch.cs" />
-    <Compile Include="Model\Navigation\view_all_bills_report_branch.cs" />
+    <Compile Include="Model\Navigation\TreeBranchSpecs.cs" />
+    <Compile Include="Model\Navigation\ViewAllBillsBranch.cs" />
+    <Compile Include="Model\Navigation\ViewAllBillsReportBranch.cs" />
     <Compile Include="Model\Projects\EmptyProject.cs" />
-    <Compile Include="Model\Projects\file_not_specified_exception.cs" />
+    <Compile Include="Model\Projects\FileNotSpecifiedException.cs" />
     <Compile Include="Model\Projects\IProject.cs" />
     <Compile Include="Model\Projects\IProjectController.cs" />
     <Compile Include="Model\Projects\Project.cs" />
     <Compile Include="Model\Projects\ProjectController.cs" />
     <Compile Include="Model\Projects\ProjectControllerSpecs.cs" />
     <Compile Include="Model\Reporting\IReport.cs" />
-    <Compile Include="Model\Reporting\report_binding_extensions.cs" />
-    <Compile Include="Model\Reporting\report_binding_extensions_specs.cs" />
+    <Compile Include="Model\Reporting\ReportBindingExtensions.cs" />
+    <Compile Include="Model\Reporting\ReportBindingExtensionsSpecs.cs" />
     <Compile Include="Presenters\AddCompanyPresenter.cs" />
     <Compile Include="Presenters\AddCompanyPresenterSpecs.cs" />
     <Compile Include="Presenters\Billing\AddBillPaymentPresenter.cs" />
     <Compile Include="Presenters\Billing\ViewAllBillsPresenter.cs" />
-    <Compile Include="Presenters\Commands\display_the_splash_screen.cs" />
     <Compile Include="Presenters\Commands\RestartCommand.cs" />
     <Compile Include="Presenters\Commands\RunPresenterCommand.cs" />
     <Compile Include="Presenters\Commands\RunThe.cs" />
-    <Compile Include="Presenters\Commands\run_the_specs.cs" />
+    <Compile Include="Presenters\Commands\RunTheSpecs.cs" />
     <Compile Include="Presenters\Excel\Cell.cs" />
-    <Compile Include="Presenters\Excel\change_font_size.cs" />
-    <Compile Include="Presenters\Excel\composite_cell_visitor.cs" />
-    <Compile Include="Presenters\Excel\constrained_cell_visitor.cs" />
-    <Compile Include="Presenters\Excel\excel_usage.cs" />
-    <Compile Include="Presenters\Excel\format_back_color.cs" />
+    <Compile Include="Presenters\Excel\ChangeFontSize.cs" />
+    <Compile Include="Presenters\Excel\CompositeCellVisitor.cs" />
+    <Compile Include="Presenters\Excel\ConstrainedCellVisitor.cs" />
+    <Compile Include="Presenters\Excel\ExcelUsage.cs" />
+    <Compile Include="Presenters\Excel\FormatBackColor.cs" />
     <Compile Include="Presenters\Excel\ICell.cs" />
     <Compile Include="Presenters\Excel\ICellInterior.cs" />
     <Compile Include="Presenters\Excel\ICellVisitor.cs" />
@@ -448,10 +447,6 @@
       <Project>{580E68A8-EDEE-4350-8BBE-A053645B0F83}</Project>
       <Name>MoMoney.DataAccess</Name>
     </ProjectReference>
-    <ProjectReference Include="..\MoMoney.Domain\MoMoney.Domain.csproj">
-      <Project>{BE790BCC-4412-473F-9D0A-5AA48FE7A74F}</Project>
-      <Name>MoMoney.Domain</Name>
-    </ProjectReference>
     <ProjectReference Include="..\MoMoney.DTO\MoMoney.DTO.csproj">
       <Project>{ACF52FAB-435B-48C9-A383-C787CB2D8000}</Project>
       <Name>MoMoney.DTO</Name>
@@ -462,8 +457,6 @@
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>
-    <Folder Include="Model\Interaction\" />
-    <Folder Include="Model\Keyboard\" />
     <Folder Include="Properties\" />
     <Folder Include="Views\Helpers\" />
   </ItemGroup>
trunk/product/MoMoney.Service/Application/AddNewIncomeCommandSpecs.cs
@@ -1,6 +1,7 @@
 using System;
 using developwithpassion.bdd.contexts;
 using Gorilla.Commons.Testing;
+using Gorilla.Commons.Utility;
 using MoMoney.Domain.accounting.billing;
 using MoMoney.Domain.accounting.financial_growth;
 using MoMoney.Domain.Core;
trunk/product/MoMoney.Service/Infrastructure/Updating/DownloadTheLatestVersion.cs
@@ -1,6 +1,6 @@
 using Gorilla.Commons.Infrastructure;
+using Gorilla.Commons.Utility;
 using Gorilla.Commons.Utility.Core;
-using MoMoney.Domain.Core;
 using MoMoney.Tasks.infrastructure.updating;
 
 namespace MoMoney.Service.Infrastructure.Updating
trunk/product/MoMoney.Presentation/Presenters/Commands/display_the_splash_screen.cs → trunk/product/MyMoney/boot/display_the_splash_screen.cs
@@ -2,7 +2,7 @@ using System;
 using MoMoney.Presentation.Presenters.Startup;
 using MoMoney.Utility.Core;
 
-namespace MoMoney.Presentation.Presenters.Commands
+namespace MoMoney.boot
 {
     public class display_the_splash_screen : IDisposableCommand
     {
trunk/product/MyMoney/boot/WindowsFormsApplication.cs
@@ -16,7 +16,6 @@ using MoMoney.boot.container;
 using MoMoney.Presentation.Model.messages;
 using MoMoney.Presentation.Presenters.Startup;
 using MoMoney.windows.ui;
-using display_the_splash_screen=MoMoney.Presentation.Presenters.Commands.display_the_splash_screen;
 
 namespace MoMoney.boot
 {
trunk/product/MyMoney/MyMoney.csproj
@@ -174,6 +174,7 @@
     <Compile Include="boot\container\registration\wire_up_the_presentation_modules.cs" />
     <Compile Include="boot\container\registration\wire_up_the_services_in_to_the.cs" />
     <Compile Include="boot\container\type_extensions.cs" />
+    <Compile Include="boot\display_the_splash_screen.cs" />
     <Compile Include="boot\global_error_handling.cs" />
     <Compile Include="boot\WindowsFormsApplication.cs" />
     <Compile Include="Modules\ApplicationShellModule.cs" />