Commit 698ce80
Changed files (15)
trunk
product
MoMoney.DataAccess
MoMoney.DTO
MoMoney.Service
Infrastructure
Updating
MyMoney
Presentation
Model
Menu
File
Commands
Presenters
Views
trunk/product/MoMoney.DataAccess/Transactions2/Database.cs
@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using MoMoney.DataAccess;
using MoMoney.Domain.Core;
using MoMoney.Presentation.Model.Projects;
trunk/product/MoMoney.DataAccess/file.cs → trunk/product/MoMoney.DataAccess/ApplicationFile.cs
@@ -1,16 +1,9 @@
using System.IO;
using MoMoney.Infrastructure.Extensions;
+using MoMoney.Presentation.Model.Projects;
-namespace MoMoney.Presentation.Model.Projects
+namespace MoMoney.DataAccess
{
- public interface IFile
- {
- string path { get; }
- bool does_the_file_exist();
- void copy_to(string path);
- void delete();
- }
-
public class ApplicationFile : IFile
{
public ApplicationFile(string path)
trunk/product/MoMoney.DataAccess/IFile.cs
@@ -0,0 +1,10 @@
+namespace MoMoney.Presentation.Model.Projects
+{
+ public interface IFile
+ {
+ string path { get; }
+ bool does_the_file_exist();
+ void copy_to(string path);
+ void delete();
+ }
+}
\ No newline at end of file
trunk/product/MoMoney.DataAccess/MoMoney.DataAccess.csproj
@@ -69,6 +69,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="ApplicationFile.cs" />
<Compile Include="Db40\AttachedSession.cs" />
<Compile Include="Db40\ConnectionFactory.cs" />
<Compile Include="Db40\DetachedSession.cs" />
@@ -77,7 +78,7 @@
<Compile Include="Db40\SessionContext.cs" />
<Compile Include="Db40\SessionContextSpecs.cs" />
<Compile Include="Db40\Spiking\db40_spike_specs.cs" />
- <Compile Include="file.cs" />
+ <Compile Include="IFile.cs" />
<Compile Include="Repositories\BillRepository.cs" />
<Compile Include="Repositories\BillRepositorySpecs.cs" />
<Compile Include="Repositories\CompanyRepository.cs" />
trunk/product/MyMoney/Presentation/Model/updates/ApplicationVersion.cs → trunk/product/MoMoney.DTO/ApplicationVersion.cs
File renamed without changes
trunk/product/MoMoney.DTO/MoMoney.DTO.csproj
@@ -46,6 +46,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AddNewBillDTO.cs" />
+ <Compile Include="ApplicationVersion.cs" />
<Compile Include="BillInformationDto.cs" />
<Compile Include="IncomeSubmissionDto.cs" />
<Compile Include="income_information_dto.cs" />
trunk/product/MoMoney.Service/Infrastructure/Updating/WhatIsTheAvailableVersion.cs
@@ -1,7 +1,8 @@
using Gorilla.Commons.Utility.Core;
using MoMoney.Presentation.Model.updates;
+using MoMoney.Tasks.infrastructure.updating;
-namespace MoMoney.Tasks.infrastructure.updating
+namespace MoMoney.Service.Infrastructure.Updating
{
public interface IWhatIsTheAvailableVersion : IQuery<ApplicationVersion>
{
trunk/product/MoMoney.Service/MoMoney.Service.csproj
@@ -31,10 +31,15 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
+ <Reference Include="developwithpassion.bdd, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\build\lib\test\developwithpassion\developwithpassion.bdd.dll</HintPath>
+ </Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
+ <Reference Include="System.Deployment" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
@@ -67,6 +72,10 @@
<Compile Include="Infrastructure\Updating\WhatIsTheAvailableVersion.cs" />
</ItemGroup>
<ItemGroup>
+ <ProjectReference Include="..\Gorilla.Commons.Testing\Gorilla.Commons.Testing.csproj">
+ <Project>{44E65096-9657-4716-90F8-4535BABE8039}</Project>
+ <Name>Gorilla.Commons.Testing</Name>
+ </ProjectReference>
<ProjectReference Include="..\Gorilla.Commons.Utility\Gorilla.Commons.Utility.csproj">
<Project>{DD8FD29E-7424-415C-9BA3-7D9F6ECBA161}</Project>
<Name>Gorilla.Commons.Utility</Name>
trunk/product/MyMoney/Presentation/Model/Menu/File/Commands/OpenCommandSpecs.cs
@@ -1,5 +1,6 @@
using developwithpassion.bdd.contexts;
using Gorilla.Commons.Testing;
+using MoMoney.DataAccess;
using MoMoney.Presentation.Model.Projects;
using MoMoney.Presentation.Views.dialogs;
trunk/product/MyMoney/Presentation/Model/Menu/File/Commands/SaveAsCommandSpecs.cs
@@ -1,5 +1,6 @@
using developwithpassion.bdd.contexts;
using Gorilla.Commons.Testing;
+using MoMoney.DataAccess;
using MoMoney.Presentation.Model.Projects;
using MoMoney.Presentation.Views.dialogs;
@@ -27,7 +28,7 @@ namespace MoMoney.Presentation.Model.Menu.File.Commands
}
static IProjectController current_project;
- static Projects.ApplicationFile new_path;
+ static ApplicationFile new_path;
static ISelectFileToSaveToDialog view;
}
}
\ No newline at end of file
trunk/product/MyMoney/Presentation/Presenters/updates/CheckForUpdatesPresenter.cs
@@ -4,6 +4,7 @@ using MoMoney.Presentation.Core;
using MoMoney.Presentation.Model.updates;
using MoMoney.Presentation.Presenters.Commands;
using MoMoney.Presentation.Views.updates;
+using MoMoney.Service.Infrastructure.Updating;
using MoMoney.Tasks.infrastructure.core;
using MoMoney.Tasks.infrastructure.updating;
trunk/product/MyMoney/Presentation/Presenters/updates/CheckForUpdatesPresenterSpecs.cs
@@ -3,6 +3,7 @@ using Gorilla.Commons.Testing;
using MoMoney.Presentation.Model.updates;
using MoMoney.Presentation.Presenters.Commands;
using MoMoney.Presentation.Views.updates;
+using MoMoney.Service.Infrastructure.Updating;
using MoMoney.Tasks.infrastructure.core;
using MoMoney.Tasks.infrastructure.updating;
trunk/product/MyMoney/Presentation/Views/dialogs/SelectFileToOpenDialog.cs
@@ -1,4 +1,5 @@
using System.Windows.Forms;
+using MoMoney.DataAccess;
using MoMoney.Presentation.Model.Projects;
namespace MoMoney.Presentation.Views.dialogs
trunk/product/MyMoney/Presentation/Views/dialogs/SelectFileToSaveToDialog.cs
@@ -1,4 +1,5 @@
using System.Windows.Forms;
+using MoMoney.DataAccess;
using MoMoney.Presentation.Model.Projects;
namespace MoMoney.Presentation.Views.dialogs
trunk/product/MyMoney/MyMoney.csproj
@@ -228,7 +228,6 @@
<Compile Include="Presentation\Model\reporting\IReport.cs" />
<Compile Include="Presentation\Model\reporting\report_binding_extensions.cs" />
<Compile Include="Presentation\Model\reporting\report_binding_extensions_specs.cs" />
- <Compile Include="Presentation\Model\updates\ApplicationVersion.cs" />
<Compile Include="Presentation\Presenters\billing\AddBillPaymentPresenter.cs" />
<Compile Include="Presentation\Presenters\AddCompanyPresenter.cs" />
<Compile Include="Presentation\Presenters\AddCompanyPresenterSpecs.cs" />
@@ -629,6 +628,7 @@
<Folder Include="Infrastructure\Threading\Juval\" />
<Folder Include="Infrastructure\transactions2\" />
<Folder Include="Infrastructure\transactions\" />
+ <Folder Include="Presentation\Model\updates\" />
<Folder Include="Presentation\Presenters\billing\dto\" />
<Folder Include="Presentation\Presenters\income\dto\" />
<Folder Include="Presentation\Views\Menu\Mappers\" />