Skip to content

Commit c07cac3

Browse files
committed
Added the RulesEngine to the main solution
Cleaned up the visualizers Added mdoc for documentation generation
1 parent eca2aa8 commit c07cac3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1266
-1181
lines changed

.gitignore

+25-23
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
build_output/*
2-
code_drop/*
3-
4-
**/*.suo
5-
**/*.user
6-
**/*.sln*
7-
bin
8-
obj
9-
_ReSharper*
10-
11-
*.csproj.user
12-
*.resharper.user
13-
*.resharper
14-
*.cache
15-
*~
16-
*.swp
17-
*.bak
18-
*.orig
19-
20-
TestResult.xml
21-
submit.xml
22-
src/tests/*
23-
SolutionVersion.cs
1+
build_output/*
2+
code_drop/*
3+
4+
**/*.suo
5+
**/*.user
6+
**/*.sln*
7+
bin
8+
obj
9+
_ReSharper*
10+
11+
*.csproj.user
12+
*.resharper.user
13+
*.resharper
14+
*.cache
15+
*~
16+
*.swp
17+
*.bak
18+
*.orig
19+
20+
TestResult.xml
21+
submit.xml
22+
src/tests/*
23+
tests/*
24+
doc/*
25+
SolutionVersion.cs

createdocs.bat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@echo off
2+
3+
lib\mdoc\mdoc update -o doc\en -i build_output\Magnum\Magnum.xml build_output\Magnum\Magnum.dll --exceptions=added
4+
lib\mdoc\mdoc export-html -o doc\html doc\en
5+

lib/ILMerge/ILMerge.exe

828 KB
Binary file not shown.

lib/mdoc/Commons.Xml.Relaxng.dll

235 KB
Binary file not shown.

lib/mdoc/ICSharpCode.SharpZipLib.dll

129 KB
Binary file not shown.

lib/mdoc/Mono.Cecil.dll

375 KB
Binary file not shown.

lib/mdoc/mdoc.exe

314 KB
Binary file not shown.

lib/mdoc/monodoc.dll

509 KB
Binary file not shown.

lib/mdoc/monodoc.dll.config

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<config>
2+
<path docsPath="/home/jon/Development/mono-HEAD/install/lib/monodoc" />
3+
</config>

lib/mdoc/monodoc.dll.mdb

181 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,112 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>9.0.30729</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{00A9A599-4850-46D5-AC94-4D10717A4EB2}</ProjectGuid>
9-
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>Magnum.Infrastructure.Specs</RootNamespace>
12-
<AssemblyName>Magnum.Infrastructure.Specs</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
32-
</PropertyGroup>
33-
<ItemGroup>
34-
<Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
35-
<SpecificVersion>False</SpecificVersion>
36-
<HintPath>..\..\lib\FluentNHibernate\Castle.Core.dll</HintPath>
37-
</Reference>
38-
<Reference Include="Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
39-
<SpecificVersion>False</SpecificVersion>
40-
<HintPath>..\..\lib\FluentNHibernate\Castle.DynamicProxy2.dll</HintPath>
41-
</Reference>
42-
<Reference Include="FluentNHibernate, Version=0.1.0.483, Culture=neutral, PublicKeyToken=8aa435e3cb308880, processorArchitecture=MSIL">
43-
<SpecificVersion>False</SpecificVersion>
44-
<HintPath>..\..\lib\FluentNHibernate\FluentNHibernate.dll</HintPath>
45-
</Reference>
46-
<Reference Include="Iesi.Collections, Version=1.0.0.3, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
47-
<SpecificVersion>False</SpecificVersion>
48-
<HintPath>..\..\lib\FluentNHibernate\Iesi.Collections.dll</HintPath>
49-
</Reference>
50-
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
51-
<SpecificVersion>False</SpecificVersion>
52-
<HintPath>..\..\lib\log4net.dll</HintPath>
53-
</Reference>
54-
<Reference Include="NHibernate, Version=2.0.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
55-
<SpecificVersion>False</SpecificVersion>
56-
<HintPath>..\..\lib\FluentNHibernate\NHibernate.dll</HintPath>
57-
</Reference>
58-
<Reference Include="NHibernate.Linq, Version=1.0.0.0, Culture=neutral, PublicKeyToken=444cf6a87fdab271, processorArchitecture=MSIL">
59-
<SpecificVersion>False</SpecificVersion>
60-
<HintPath>..\..\lib\FluentNHibernate\NHibernate.Linq.dll</HintPath>
61-
</Reference>
62-
<Reference Include="nunit.framework, Version=2.5.2.9222, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
63-
<SpecificVersion>False</SpecificVersion>
64-
<HintPath>..\..\lib\NUnit\nunit.framework.dll</HintPath>
65-
</Reference>
66-
<Reference Include="Rhino.Mocks, Version=3.5.0.2, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
67-
<SpecificVersion>False</SpecificVersion>
68-
<HintPath>..\..\lib\Rhino.Mocks.dll</HintPath>
69-
</Reference>
70-
<Reference Include="System" />
71-
<Reference Include="System.Core">
72-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
73-
</Reference>
74-
<Reference Include="System.Data" />
75-
<Reference Include="System.Xml" />
76-
</ItemGroup>
77-
<ItemGroup>
78-
<Compile Include="Data\NHibernateTransaction_Specs.cs" />
79-
<Compile Include="Data\NHibernateUnitOfWork_Specs.cs" />
80-
<Compile Include="Properties\AssemblyInfo.cs" />
81-
<Compile Include="StateMachine\StateMachineStorage_Specs.cs" />
82-
</ItemGroup>
83-
<ItemGroup>
84-
<ProjectReference Include="..\Magnum.Specs\Magnum.Specs.csproj">
85-
<Project>{0BEBC5E0-BDC4-421C-971B-2C5BE3204F7C}</Project>
86-
<Name>Magnum.Specs</Name>
87-
</ProjectReference>
88-
<ProjectReference Include="..\Magnum.TestFramework\Magnum.TestFramework.csproj">
89-
<Project>{D741FD13-08D7-4A71-916E-0D61816D8A80}</Project>
90-
<Name>Magnum.TestFramework</Name>
91-
</ProjectReference>
92-
<ProjectReference Include="..\Magnum\Magnum.csproj">
93-
<Project>{C3650C32-0850-48B4-BE71-ECE9FACBD356}</Project>
94-
<Name>Magnum</Name>
95-
</ProjectReference>
96-
<ProjectReference Include="..\Magnum.Infrastructure\Magnum.Infrastructure.csproj">
97-
<Project>{A3CA2BD8-BA6C-457F-9C56-0809C2739710}</Project>
98-
<Name>Magnum.Infrastructure</Name>
99-
</ProjectReference>
100-
</ItemGroup>
101-
<ItemGroup>
102-
<EmbeddedResource Include="StateMachine\ExampleStateMachine.hbm.xml" />
103-
</ItemGroup>
104-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
106-
Other similar extension points exist, see Microsoft.Common.targets.
107-
<Target Name="BeforeBuild">
108-
</Target>
109-
<Target Name="AfterBuild">
110-
</Target>
111-
-->
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>9.0.30729</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{00A9A599-4850-46D5-AC94-4D10717A4EB2}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>Magnum.Infrastructure.Specs</RootNamespace>
12+
<AssemblyName>Magnum.Infrastructure.Specs</AssemblyName>
13+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>..\..\tests\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>..\..\tests\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
35+
<SpecificVersion>False</SpecificVersion>
36+
<HintPath>..\..\lib\FluentNHibernate\Castle.Core.dll</HintPath>
37+
</Reference>
38+
<Reference Include="Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
39+
<SpecificVersion>False</SpecificVersion>
40+
<HintPath>..\..\lib\FluentNHibernate\Castle.DynamicProxy2.dll</HintPath>
41+
</Reference>
42+
<Reference Include="FluentNHibernate, Version=0.1.0.483, Culture=neutral, PublicKeyToken=8aa435e3cb308880, processorArchitecture=MSIL">
43+
<SpecificVersion>False</SpecificVersion>
44+
<HintPath>..\..\lib\FluentNHibernate\FluentNHibernate.dll</HintPath>
45+
</Reference>
46+
<Reference Include="Iesi.Collections, Version=1.0.0.3, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
47+
<SpecificVersion>False</SpecificVersion>
48+
<HintPath>..\..\lib\FluentNHibernate\Iesi.Collections.dll</HintPath>
49+
</Reference>
50+
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
51+
<SpecificVersion>False</SpecificVersion>
52+
<HintPath>..\..\lib\log4net.dll</HintPath>
53+
</Reference>
54+
<Reference Include="NHibernate, Version=2.0.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
55+
<SpecificVersion>False</SpecificVersion>
56+
<HintPath>..\..\lib\FluentNHibernate\NHibernate.dll</HintPath>
57+
</Reference>
58+
<Reference Include="NHibernate.Linq, Version=1.0.0.0, Culture=neutral, PublicKeyToken=444cf6a87fdab271, processorArchitecture=MSIL">
59+
<SpecificVersion>False</SpecificVersion>
60+
<HintPath>..\..\lib\FluentNHibernate\NHibernate.Linq.dll</HintPath>
61+
</Reference>
62+
<Reference Include="nunit.framework, Version=2.5.2.9222, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
63+
<SpecificVersion>False</SpecificVersion>
64+
<HintPath>..\..\lib\NUnit\nunit.framework.dll</HintPath>
65+
</Reference>
66+
<Reference Include="Rhino.Mocks, Version=3.5.0.2, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
67+
<SpecificVersion>False</SpecificVersion>
68+
<HintPath>..\..\lib\Rhino.Mocks.dll</HintPath>
69+
</Reference>
70+
<Reference Include="System" />
71+
<Reference Include="System.Core">
72+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
73+
</Reference>
74+
<Reference Include="System.Data" />
75+
<Reference Include="System.Xml" />
76+
</ItemGroup>
77+
<ItemGroup>
78+
<Compile Include="Data\NHibernateTransaction_Specs.cs" />
79+
<Compile Include="Data\NHibernateUnitOfWork_Specs.cs" />
80+
<Compile Include="Properties\AssemblyInfo.cs" />
81+
<Compile Include="StateMachine\StateMachineStorage_Specs.cs" />
82+
</ItemGroup>
83+
<ItemGroup>
84+
<ProjectReference Include="..\Magnum.Specs\Magnum.Specs.csproj">
85+
<Project>{0BEBC5E0-BDC4-421C-971B-2C5BE3204F7C}</Project>
86+
<Name>Magnum.Specs</Name>
87+
</ProjectReference>
88+
<ProjectReference Include="..\Magnum.TestFramework\Magnum.TestFramework.csproj">
89+
<Project>{D741FD13-08D7-4A71-916E-0D61816D8A80}</Project>
90+
<Name>Magnum.TestFramework</Name>
91+
</ProjectReference>
92+
<ProjectReference Include="..\Magnum\Magnum.csproj">
93+
<Project>{C3650C32-0850-48B4-BE71-ECE9FACBD356}</Project>
94+
<Name>Magnum</Name>
95+
</ProjectReference>
96+
<ProjectReference Include="..\Magnum.Infrastructure\Magnum.Infrastructure.csproj">
97+
<Project>{A3CA2BD8-BA6C-457F-9C56-0809C2739710}</Project>
98+
<Name>Magnum.Infrastructure</Name>
99+
</ProjectReference>
100+
</ItemGroup>
101+
<ItemGroup>
102+
<EmbeddedResource Include="StateMachine\ExampleStateMachine.hbm.xml" />
103+
</ItemGroup>
104+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
106+
Other similar extension points exist, see Microsoft.Common.targets.
107+
<Target Name="BeforeBuild">
108+
</Target>
109+
<Target Name="AfterBuild">
110+
</Target>
111+
-->
112112
</Project>

src/Magnum.Infrastructure/Magnum.Infrastructure.csproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@
1717
<DebugSymbols>true</DebugSymbols>
1818
<DebugType>full</DebugType>
1919
<Optimize>false</Optimize>
20-
<OutputPath>..\bin\</OutputPath>
20+
<OutputPath>..\..\bin\NHibernate\</OutputPath>
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
2424
</PropertyGroup>
2525
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2626
<DebugType>pdbonly</DebugType>
2727
<Optimize>true</Optimize>
28-
<OutputPath>..\bin\</OutputPath>
28+
<OutputPath>..\..\bin\NHibernate\</OutputPath>
2929
<DefineConstants>TRACE</DefineConstants>
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
32+
<DocumentationFile>..\..\bin\Magnum.Infrastructure.XML</DocumentationFile>
3233
</PropertyGroup>
3334
<ItemGroup>
3435
<Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">

src/Magnum.RulesEngine.Specs/Agenda Specs/BetaMemory_Specs.cs

-22
Original file line numberDiff line numberDiff line change
@@ -73,28 +73,6 @@ public void FirstTestName()
7373
_context.VerifyAllExpectations();
7474
}
7575

76-
[Test]
77-
public void One_more_level_of_indirection()
78-
{
79-
var junction = new JoinNode<Customer>(_constantNode);
80-
junction.AddSuccessor(_actionNode);
81-
82-
var alphaNode = new AlphaNode<Customer>();
83-
alphaNode.AddSuccessor(junction);
84-
85-
alphaNode.Activate(_context);
86-
87-
//var memoryA = new BetaMemory<Customer>(junction);
88-
89-
90-
91-
//memoryA.Activate(_context);
92-
93-
_agenda.Execute();
94-
95-
_context.VerifyAllExpectations();
96-
}
97-
9876
[Test]
9977
public void Pulling_an_element_through_two_memories_should_merge_properly()
10078
{

0 commit comments

Comments
 (0)