Rename IFilesRetriever to IFilesBrowser

This commit is contained in:
Denis-Cosmin Nutiu 2022-02-12 21:58:57 +02:00
parent 9bd612cde3
commit 0b3398605d
2 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ namespace Image.Files
/// <summary> /// <summary>
/// An to interface enabling implementation of filename retrievers. /// An to interface enabling implementation of filename retrievers.
/// </summary> /// </summary>
public interface IFilesRetriever public interface IFilesBrowser
{ {
/// <summary> /// <summary>
/// Returns all filenames from given path. /// Returns all filenames from given path.

View file

@ -6,13 +6,13 @@ using Microsoft.Extensions.Logging.Abstractions;
namespace Image.Files namespace Image.Files
{ {
/// <summary> /// <summary>
/// LocalSystemFilesRetriever reads files from the provided directory on the local system. /// LocalSystemFileBrowser reads files from the provided directory on the local system.
/// </summary> /// </summary>
public class LocalSystemFilesRetriever : IFilesRetriever public class LocalSystemFileBrowser : IFilesBrowser
{ {
public static ILogger Logger = NullLogger.Instance; public static ILogger Logger = NullLogger.Instance;
private LocalSystemFilesRetriever() private LocalSystemFileBrowser()
{ {
} }
@ -27,9 +27,9 @@ namespace Image.Files
return Directory.GetFiles(directoryPath, "*.*"); return Directory.GetFiles(directoryPath, "*.*");
} }
public static LocalSystemFilesRetriever Create() public static LocalSystemFileBrowser Create()
{ {
return new LocalSystemFilesRetriever(); return new LocalSystemFileBrowser();
} }
} }
} }