Browse files

tidy up the folder structure

  • Loading branch information...
1 parent 5eb7f97 commit 141898fe86276611f8e3cf3931bb1e1d9c808627 @mokhan committed May 30, 2012
View
1 src/core/RoboMom.cs
@@ -1,4 +1,5 @@
using Robocode;
+using core.infrastructure;
namespace core
{
View
16 src/core/core.csproj
@@ -43,16 +43,16 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="Casting.cs" />
- <Compile Include="Dynamic.cs" />
- <Compile Include="IEventAggregator.cs" />
- <Compile Include="IEventRegistry.cs" />
- <Compile Include="IPublishEvents.cs" />
- <Compile Include="ISubscribeTo.cs" />
- <Compile Include="Iterating.cs" />
+ <Compile Include="extensions\Casting.cs" />
+ <Compile Include="extensions\Dynamic.cs" />
+ <Compile Include="infrastructure\IEventAggregator.cs" />
+ <Compile Include="infrastructure\IEventRegistry.cs" />
+ <Compile Include="infrastructure\IPublishEvents.cs" />
+ <Compile Include="infrastructure\ISubscribeTo.cs" />
+ <Compile Include="extensions\Iterating.cs" />
<Compile Include="RoboMom.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="ThreadUnsafeEventAggregator.cs" />
+ <Compile Include="infrastructure\ThreadUnsafeEventAggregator.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
2 src/core/Casting.cs → src/core/extensions/Casting.cs
@@ -1,4 +1,4 @@
-namespace core
+namespace core.extensions
{
public static class Casting
{
View
2 src/core/Dynamic.cs → src/core/extensions/Dynamic.cs
@@ -1,6 +1,6 @@
using System;
-namespace core
+namespace core.extensions
{
public static class Dynamic
{
View
2 src/core/Iterating.cs → src/core/extensions/Iterating.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
-namespace core
+namespace core.extensions
{
public static class Iterating
{
View
2 src/core/IEventAggregator.cs → src/core/infrastructure/IEventAggregator.cs
@@ -1,4 +1,4 @@
-namespace core
+namespace core.infrastructure
{
public interface IEventAggregator : IEventRegistry, IPublishEvents {}
}
View
2 src/core/IEventRegistry.cs → src/core/infrastructure/IEventRegistry.cs
@@ -1,4 +1,4 @@
-namespace core
+namespace core.infrastructure
{
public interface IEventRegistry
{
View
2 src/core/IPublishEvents.cs → src/core/infrastructure/IPublishEvents.cs
@@ -1,4 +1,4 @@
-namespace core
+namespace core.infrastructure
{
public interface IPublishEvents
{
View
2 src/core/ISubscribeTo.cs → src/core/infrastructure/ISubscribeTo.cs
@@ -1,4 +1,4 @@
-namespace core
+namespace core.infrastructure
{
public interface ISubscribeTo<Event>
{
View
3 src/core/ThreadUnsafeEventAggregator.cs → ...astructure/ThreadUnsafeEventAggregator.cs
@@ -1,6 +1,7 @@
using System.Collections.Generic;
+using core.extensions;
-namespace core
+namespace core.infrastructure
{
public class ThreadUnsafeEventAggregator : IEventAggregator
{
View
1 src/specs/RoboMomSpecs.cs
@@ -2,6 +2,7 @@
using Rhino.Mocks;
using Robocode;
using core;
+using core.infrastructure;
namespace specs
{
View
3 src/specs/EventAggregatorSpec.cs → ...ecs/infrastructure/EventAggregatorSpec.cs
@@ -1,8 +1,9 @@
using Machine.Specifications;
using Rhino.Mocks;
using core;
+using core.infrastructure;
-namespace specs
+namespace specs.infrastructure
{
public class EventAggregatorSpec
{
View
2 src/specs/specs.csproj
@@ -52,7 +52,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="EventAggregatorSpec.cs" />
+ <Compile Include="infrastructure\EventAggregatorSpec.cs" />
<Compile Include="Mock.cs" />
<Compile Include="RoboMomSpecs.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

0 comments on commit 141898f

Please sign in to comment.