refactor(*): Rename to Creek.FileRepository

This commit is contained in:
Josh Creek
2021-08-30 13:29:49 +01:00
parent 0fe9924f5b
commit 615994a68d
15 changed files with 20 additions and 20 deletions
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 16
VisualStudioVersion = 16.0.31410.357 VisualStudioVersion = 16.0.31410.357
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FileRepository", "FileRepository\FileRepository.csproj", "{746DEBF5-D612-4321-B3B7-04EA1905DD8D}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Creek.FileRepository", "Creek.FileRepository\Creek.FileRepository.csproj", "{746DEBF5-D612-4321-B3B7-04EA1905DD8D}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{229B642A-0B50-445A-A9AB-BF20C8026F40}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{229B642A-0B50-445A-A9AB-BF20C8026F40}"
EndProject EndProject
@@ -1,8 +1,8 @@
using FileRepository.Repositories; using Creek.FileRepository.Repositories;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using System; using System;
namespace FileRepository namespace Creek.FileRepository
{ {
/// <summary> /// <summary>
/// A factory to enable consumers of this package to easily get a specific type of repository. /// A factory to enable consumers of this package to easily get a specific type of repository.
@@ -1,7 +1,7 @@
using FileRepository.Models; using Creek.FileRepository.Models;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace FileRepository namespace Creek.FileRepository
{ {
/// <summary> /// <summary>
/// A repository interface to ensure that all storage repositories implement all the required methods, and that the methods are all generic. /// A repository interface to ensure that all storage repositories implement all the required methods, and that the methods are all generic.
@@ -1,7 +1,7 @@
using System; using System;
using System.IO; using System.IO;
namespace FileRepository.Models namespace Creek.FileRepository.Models
{ {
/// <summary> /// <summary>
/// This model serves to represent the files being stored. /// This model serves to represent the files being stored.
@@ -1,9 +1,9 @@
using FileRepository.Models; using Creek.FileRepository.Models;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace FileRepository.Repositories namespace Creek.FileRepository.Repositories
{ {
/// <summary> /// <summary>
/// The repository implementation for Disk. /// The repository implementation for Disk.
@@ -1,9 +1,9 @@
using FileRepository.Models; using Creek.FileRepository.Models;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace FileRepository.Repositories namespace Creek.FileRepository.Repositories
{ {
/// <summary> /// <summary>
/// The repository implementation for MongoDb. /// The repository implementation for MongoDb.
@@ -1,9 +1,9 @@
using FileRepository.Models; using Creek.FileRepository.Models;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace FileRepository.Repositories namespace Creek.FileRepository.Repositories
{ {
/// <summary> /// <summary>
/// The repository implementation for S3. /// The repository implementation for S3.
@@ -1,4 +1,4 @@
using FileRepository.Models; using Creek.FileRepository.Models;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Renci.SshNet; using Renci.SshNet;
using Renci.SshNet.Sftp; using Renci.SshNet.Sftp;
@@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace FileRepository.Repositories namespace Creek.FileRepository.Repositories
{ {
/// <summary> /// <summary>
/// The repository implementation for SFTP. /// The repository implementation for SFTP.
@@ -1,9 +1,9 @@
using FileRepository.Models; using Creek.FileRepository.Models;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace FileRepository.Repositories namespace Creek.FileRepository.Repositories
{ {
/// <summary> /// <summary>
/// The repository implementation for SQL. /// The repository implementation for SQL.
+1 -1
View File
@@ -1,2 +1,2 @@
# FileRepository # Creek.FileRepository
An easy way to hook up various file storage mechanisms, following the repository pattern with a factory. An easy way to hook up various file storage mechanisms, following the repository pattern with a factory.
+2 -2
View File
@@ -1,5 +1,5 @@
using FileRepository; using Creek.FileRepository;
using FileRepository.Models; using Creek.FileRepository.Models;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using NUnit.Framework; using NUnit.Framework;
+1 -1
View File
@@ -25,7 +25,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\FileRepository\FileRepository.csproj" /> <ProjectReference Include="..\Creek.FileRepository\Creek.FileRepository.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>