Permalink
Browse files

Renamed Extension.cs to DataReaderExtensions.cs

  • Loading branch information...
1 parent 8a2aa91 commit d923de1d5de20396fe6812122286896614930629 @shashankshetty shashankshetty committed Jun 30, 2009
@@ -32,18 +32,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Microsoft.Practices.ServiceLocation.dll</HintPath>
- </Reference>
<Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\nunit.framework.dll</HintPath>
</Reference>
- <Reference Include="nunit.framework.extensions, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\nunit.framework.extensions.dll</HintPath>
- </Reference>
<Reference Include="Rhino.Mocks, Version=3.5.0.1337, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Rhino.Mocks.dll</HintPath>
@@ -55,10 +55,6 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\nunit.framework.dll</HintPath>
</Reference>
- <Reference Include="nunit.framework.extensions, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\nunit.framework.extensions.dll</HintPath>
- </Reference>
<Reference Include="Rhino.Mocks, Version=3.5.0.1337, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Rhino.Mocks.dll</HintPath>
@@ -79,7 +75,7 @@
<ItemGroup>
<Compile Include="DTO\User.cs" />
<Compile Include="ExcelToDTOMapperTests.cs" />
- <Compile Include="Extensions\ExtensionTests.cs" />
+ <Compile Include="Extensions\DataReaderExtensionTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Repository\Connection\ConnectionStringTests.cs" />
<Compile Include="Repository\Connection\ConnectionTests.cs" />
@@ -1,14 +1,14 @@
using System.Data;
-using ExcelMapper.Extension;
+using ExcelMapper.Extensions;
using NUnit.Framework;
using Rhino.Mocks;
namespace ExcelMapper.Tests.Extensions
{
- public class ExtensionTests
+ public class DataReaderExtensionTests
{
[TestFixture]
public class When_asked_to_get_a_value_from_the_datareader
@@ -2,11 +2,10 @@
using System.Collections.Generic;
using System.Data.OleDb;
+using ExcelMapper.Extensions;
using ExcelMapper.Repository.Connection;
using ExcelMapper.Tests.DTO;
-using ExcelMapper.Extension;
-
namespace ExcelMapper.Tests
{
public class TestData
@@ -84,7 +84,7 @@
<Compile Include="Repository\Connection\IConnection.cs" />
<Compile Include="Repository\Connection\IConnectionString.cs" />
<Compile Include="Repository\ExcelRepository.cs" />
- <Compile Include="Extension\Extension.cs" />
+ <Compile Include="Extensions\DataReaderExtensions.cs" />
<Compile Include="Repository\IRepository.cs" />
<Compile Include="Service\AssemblyGenerator.cs" />
<Compile Include="Service\ClassFileGenerator.cs" />
@@ -1,8 +1,8 @@
using System.Data;
-namespace ExcelMapper.Extension
+namespace ExcelMapper.Extensions
{
- public static class Extension
+ public static class DataReaderExtensions
{
public static T GetValue<T>(this IDataReader reader, int ordinal)
{
@@ -6,7 +6,7 @@
using System.Reflection;
using ExcelMapper.DTO;
-using ExcelMapper.Extension;
+using ExcelMapper.Extensions;
using ExcelMapper.Repository.Connection;
namespace ExcelMapper.Repository

0 comments on commit d923de1

Please sign in to comment.