Permalink
Browse files

Moving Spring.Retry.Tests to the right location

  • Loading branch information...
1 parent bc61db0 commit bb9aa8b435c7a35d532245e7b9c98b192aedd63e @joefitzgerald joefitzgerald committed Nov 15, 2012
View
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Retry", "src\Spring.Retry\Spring.Retry.csproj", "{E50688A1-CD5F-4A5B-80AF-892456E7300D}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Retry.Tests", "Spring.Retry.Tests\Spring.Retry.Tests.csproj", "{86A2A023-4673-45B5-B763-C45A088FE7D9}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Retry.Tests", "src\Spring.Retry.Tests\Spring.Retry.Tests.csproj", "{86A2A023-4673-45B5-B763-C45A088FE7D9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{0D124CD7-42B6-44E3-89A3-24345CC6029B}"
ProjectSection(SolutionItems) = preProject
@@ -63,7 +63,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\src\Spring.Retry\Spring.Retry.csproj">
+ <ProjectReference Include="..\Spring.Retry\Spring.Retry.csproj">
<Project>{E50688A1-CD5F-4A5B-80AF-892456E7300D}</Project>
<Name>Spring.Retry</Name>
</ProjectReference>
@@ -72,7 +72,7 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <Import Project="$(SolutionDir)\Tools\StyleCop\StyleCop.Targets" />
+ <Import Project="$(SolutionDir)\Tools\StyleCop\StyleCop.Targets" />
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@@ -0,0 +1,28 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="IClassifier.cs" company="The original author or authors.">
+// Copyright 2002-2012 the original author or authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations under the License.
+// </copyright>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace Spring.Retry.Classify
+{
+ /// <summary>Interface for a classifier. At its simplest a <see cref="IClassifier{C,T}"/> is just a map from objects of one type to objects of another type.</summary>
+ /// <typeparam name="C">Type C</typeparam>
+ /// <typeparam name="T">Type T</typeparam>
+ public interface IClassifier<C, T>
+ {
+ /// <summary>The classify.</summary>
+ /// <param name="classifiable">The classifiable.</param>
+ /// <returns>The T.</returns>
+ T Classify(C classifiable);
+ }
+}
@@ -54,6 +54,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="Classify\IClassifier.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>

0 comments on commit bb9aa8b

Please sign in to comment.