Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed Extension.cs to DataReaderExtensions.cs

  • Loading branch information...
commit d923de1d5de20396fe6812122286896614930629 1 parent 8a2aa91
@shashankshetty shashankshetty authored
View
8 src/BuildDTOsFromExcel.Tests/BuildDTOsFromExcel.Tests.csproj
@@ -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>
View
6 src/ExcelMapper.Tests/ExcelMapper.Tests.csproj
@@ -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" />
View
4 src/ExcelMapper.Tests/Extensions/ExtensionTests.cs → ...pper.Tests/Extensions/DataReaderExtensionTests.cs
@@ -1,6 +1,6 @@
using System.Data;
-using ExcelMapper.Extension;
+using ExcelMapper.Extensions;
using NUnit.Framework;
@@ -8,7 +8,7 @@
namespace ExcelMapper.Tests.Extensions
{
- public class ExtensionTests
+ public class DataReaderExtensionTests
{
[TestFixture]
public class When_asked_to_get_a_value_from_the_datareader
View
3  src/ExcelMapper.Tests/TestData.cs
@@ -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
View
2  src/ExcelMapper/ExcelMapper.csproj
@@ -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" />
View
4 src/ExcelMapper/Extension/Extension.cs → src/ExcelMapper/Extensions/DataReaderExtensions.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)
{
View
2  src/ExcelMapper/Repository/ExcelRepository.cs
@@ -6,7 +6,7 @@
using System.Reflection;
using ExcelMapper.DTO;
-using ExcelMapper.Extension;
+using ExcelMapper.Extensions;
using ExcelMapper.Repository.Connection;
namespace ExcelMapper.Repository
Please sign in to comment.
Something went wrong with that request. Please try again.