Commit 9c416a6
Changed files (16)
trunk
build
lib
product
MoMoney.Domain
MoMoney.Presentation
MoMoney.Service
MyMoney
boot
container
trunk/build/lib/app/auto.fac.contrib/AutofacContrib.DynamicProxy2.dll
Binary file
trunk/build/lib/app/auto.fac.contrib/AutofacContrib.DynamicProxy2.pdb
Binary file
trunk/build/lib/app/quick.graph/QuickGraph.Data.dll
Binary file
trunk/build/lib/app/quick.graph/QuickGraph.dll
Binary file
trunk/build/lib/app/quick.graph/QuickGraph.Glee.dll
Binary file
trunk/build/lib/app/quick.graph/QuickGraph.Graphviz.dll
Binary file
trunk/build/lib/app/quick.graph/QuickGraph.Msagl.dll
Binary file
trunk/product/MoMoney.Domain/MoMoney.Domain.csproj
@@ -96,12 +96,6 @@
<Compile Include="Repositories\ICompanyRepository.cs" />
<Compile Include="Repositories\IIncomeRepository.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>
- </ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
trunk/product/MoMoney.Presentation/MoMoney.Presentation.csproj
@@ -444,10 +444,6 @@
</EmbeddedResource>
</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="..\MoMoney.DTO\MoMoney.DTO.csproj">
<Project>{ACF52FAB-435B-48C9-A383-C787CB2D8000}</Project>
<Name>MoMoney.DTO</Name>
trunk/product/MoMoney.Service/MoMoney.Service.csproj
@@ -107,10 +107,6 @@
<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="..\MoMoney.DataAccess\MoMoney.DataAccess.csproj">
<Project>{580E68A8-EDEE-4350-8BBE-A053645B0F83}</Project>
<Name>MoMoney.DataAccess</Name>
trunk/product/MyMoney/boot/container/registration/proxy_configuration/InterceptingFilterSpecs.cs
@@ -11,7 +11,7 @@ namespace MoMoney.boot.container.registration.proxy_configuration
{
}
- public class when_attempting_to_perform_an_action_that_requires_authentication :
+ public abstract class when_attempting_to_perform_an_action_that_requires_authentication :
concerns_for< SecuringProxy>
{
context c = () => { filter = the_dependency<ISpecification<IPrincipal>>(); };
trunk/product/MyMoney/boot/container/registration/auto_wire_components_in_to_the_specs.cs
@@ -9,7 +9,7 @@ using MbUnit.Framework;
namespace MoMoney.boot.container.registration
{
[Ignore("I am not sure why but line 19 throws a BadImageFormatException")]
- public class behaves_like_auto_registering_components_into_container :
+ public abstract class behaves_like_auto_registering_components_into_container :
concerns_for<IStartupCommand, auto_wire_components_in_to_the>
{
context c = () =>
trunk/product/MyMoney/boot/container/registration/run_mass_component_registration_in_to_the.cs
@@ -1,38 +0,0 @@
-using Castle.MicroKernel.Registration;
-using Castle.Windsor;
-using Gorilla.Commons.Infrastructure.Castle.Windsor;
-using Gorilla.Commons.Infrastructure.Castle.Windsor.Configuration;
-using Gorilla.Commons.Utility.Core;
-
-namespace MoMoney.boot.container.registration
-{
- internal class run_mass_component_registration_in_to_the : ICommand
- {
- readonly IWindsorContainer container;
- readonly IComponentExclusionSpecification criteria_to_satisfy;
- readonly IRegistrationConfiguration configuration;
-
- public run_mass_component_registration_in_to_the(IWindsorContainer container,
- IComponentExclusionSpecification criteria_to_satisfy,
- IRegistrationConfiguration configuration)
- {
- this.container = container;
- this.criteria_to_satisfy = criteria_to_satisfy;
- this.configuration = configuration;
- }
-
- public void run()
- {
- container.Register(
- AllTypes
- .Pick()
- .FromAssembly(GetType().Assembly)
- .WithService
- .LastInterface()
- //.FirstInterface()
- .Unless(criteria_to_satisfy.is_satisfied_by)
- .Configure(x => configuration.configure(x))
- );
- }
- }
-}
\ No newline at end of file
trunk/product/MyMoney/boot/container/ComponentExclusionSpecificationSpecs.cs
@@ -7,8 +7,9 @@ using Gorilla.Commons.Infrastructure.Castle.Windsor.Configuration;
using Gorilla.Commons.Infrastructure.Container;
using Gorilla.Commons.Testing;
using MoMoney.Domain.Core;
+using MoMoney.Infrastructure.Container.Windsor.configuration;
-namespace MoMoney.Infrastructure.Container.Windsor.configuration
+namespace MoMoney.boot.container
{
public abstract class behaves_like_component_exclusion_specification :
concerns_for<IComponentExclusionSpecification, ComponentExclusionSpecification>
@@ -61,15 +62,6 @@ namespace MoMoney.Infrastructure.Container.Windsor.configuration
static bool result;
}
-
- //public class when_checking_if_a_set_of_observations_should_be_excluded : behaves_like_component_exclusion_specification
- //{
- // it should_be_excluded = () => result.should_be_true();
-
- // because b = () => { result = sut.is_satisfied_by(typeof (when_checking_if_a_set_of_observations_should_be_excluded)); };
-
- // static bool result;
- //}
public class FakeForm : Form
{
}
trunk/product/MyMoney/MyMoney.csproj
@@ -31,22 +31,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="ActiveReports.Viewer3, Version=5.2.1013.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\active.reports\ActiveReports.Viewer3.dll</HintPath>
- </Reference>
<Reference Include="ActiveReports3, Version=5.2.1013.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\build\lib\app\active.reports\ActiveReports3.dll</HintPath>
</Reference>
- <Reference Include="Autofac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\auto.fac\Autofac.dll</HintPath>
- </Reference>
- <Reference Include="AutofacContrib.DynamicProxy2, Version=1.3.3.24, Culture=neutral, PublicKeyToken=8e6b048fde719d37, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\auto.fac.contrib\AutofacContrib.DynamicProxy2.dll</HintPath>
- </Reference>
<Reference Include="bdddoc, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\build\lib\test\bdd.doc\bdddoc.dll</HintPath>
@@ -55,42 +43,6 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\build\lib\app\castle\Castle.Core.dll</HintPath>
</Reference>
- <Reference Include="Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\castle\Castle.DynamicProxy2.dll</HintPath>
- </Reference>
- <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\castle\Castle.MicroKernel.dll</HintPath>
- </Reference>
- <Reference Include="Castle.Windsor, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\castle\Castle.Windsor.dll</HintPath>
- </Reference>
- <Reference Include="ComponentFactory.Krypton.Navigator, Version=3.0.8.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\component.factory\ComponentFactory.Krypton.Navigator.dll</HintPath>
- </Reference>
- <Reference Include="ComponentFactory.Krypton.Ribbon, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\component.factory\ComponentFactory.Krypton.Ribbon.dll</HintPath>
- </Reference>
- <Reference Include="ComponentFactory.Krypton.Toolkit, Version=3.0.8.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\component.factory\ComponentFactory.Krypton.Toolkit.dll</HintPath>
- </Reference>
- <Reference Include="ComponentFactory.Krypton.Workspace, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\component.factory\ComponentFactory.Krypton.Workspace.dll</HintPath>
- </Reference>
- <Reference Include="Db4objects.Db4o, Version=7.2.44.10827, Culture=neutral, PublicKeyToken=6199cd4f203aa8eb, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\db40\Db4objects.Db4o.dll</HintPath>
- </Reference>
- <Reference Include="Db4objects.Db4o.Linq, Version=7.2.44.10827, Culture=neutral, PublicKeyToken=6199cd4f203aa8eb, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\db40\Db4objects.Db4o.Linq.dll</HintPath>
- </Reference>
<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>
@@ -145,18 +97,11 @@
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
- <Reference Include="System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\sql.server.compact\System.Data.SqlServerCe.dll</HintPath>
- </Reference>
+ <Reference Include="System.Data" />
<Reference Include="System.Design" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
@@ -164,20 +109,10 @@
<Reference Include="UIAutomationProvider">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
- <Reference Include="WeifenLuo.WinFormsUI.Docking, Version=2.2.3133.29177, Culture=neutral, processorArchitecture=MSIL">
+ <Reference Include="WeifenLuo.WinFormsUI.Docking, Version=2.3.3392.19652, Culture=neutral, PublicKeyToken=b602bcfb76b4e90d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\build\lib\app\dock.panel.suite\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
</Reference>
- <Reference Include="WindowsBase">
- <RequiredTargetFramework>3.0</RequiredTargetFramework>
- </Reference>
- <Reference Include="WindowsFormsIntegration">
- <RequiredTargetFramework>3.0</RequiredTargetFramework>
- </Reference>
- <Reference Include="XPExplorerBar, Version=3.3.0.0, Culture=neutral, PublicKeyToken=26272737b5f33015">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\build\lib\app\xp.explorer.bar\XPExplorerBar.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="boot\container\ComponentExclusionSpecification.cs" />
@@ -254,17 +189,12 @@
</Compile>
<Compile Include="boot\start_the_application.cs" />
<Compile Include="boot\container\wire_up_the_container.cs" />
- <Compile Include="boot\container\registration\run_mass_component_registration_in_to_the.cs" />
<Compile Include="boot\container\registration\wire_up_the_essential_services_into_the.cs" />
<Compile Include="boot\container\registration\wire_up_the_mappers_in_to_the.cs" />
<Compile Include="boot\container\registration\wire_up_the_reports_in_to_the.cs" />
<Compile Include="boot\container\registration\wire_up_the_views_in_to_the.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="..\MoMoney.DataAccess\MoMoney.DataAccess.csproj">
<Project>{580E68A8-EDEE-4350-8BBE-A053645B0F83}</Project>
<Name>MoMoney.DataAccess</Name>
trunk/solution.sln
@@ -5,8 +5,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyMoney.Build", "build\MyMo
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyMoney", "product\MyMoney\MyMoney.csproj", "{2DB82691-BF15-4538-8C5E-6BF8F4F875A9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gorilla.Commons.Testing", "product\Gorilla.Commons.Testing\Gorilla.Commons.Testing.csproj", "{44E65096-9657-4716-90F8-4535BABE8039}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MoMoney.Domain", "product\MoMoney.Domain\MoMoney.Domain.csproj", "{BE790BCC-4412-473F-9D0A-5AA48FE7A74F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MoMoney.Service", "product\MoMoney.Service\MoMoney.Service.csproj", "{7EA4C557-6EF2-4B1F-85C8-5B3F51BAD8DB}"
@@ -31,10 +29,6 @@ Global
{2DB82691-BF15-4538-8C5E-6BF8F4F875A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2DB82691-BF15-4538-8C5E-6BF8F4F875A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2DB82691-BF15-4538-8C5E-6BF8F4F875A9}.Release|Any CPU.Build.0 = Release|Any CPU
- {44E65096-9657-4716-90F8-4535BABE8039}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {44E65096-9657-4716-90F8-4535BABE8039}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {44E65096-9657-4716-90F8-4535BABE8039}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {44E65096-9657-4716-90F8-4535BABE8039}.Release|Any CPU.Build.0 = Release|Any CPU
{BE790BCC-4412-473F-9D0A-5AA48FE7A74F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE790BCC-4412-473F-9D0A-5AA48FE7A74F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE790BCC-4412-473F-9D0A-5AA48FE7A74F}.Release|Any CPU.ActiveCfg = Release|Any CPU