diff --git a/src/Pretzel/Pretzel.csproj b/src/Pretzel/Pretzel.csproj index c0095c6a7..4ef4ac504 100644 --- a/src/Pretzel/Pretzel.csproj +++ b/src/Pretzel/Pretzel.csproj @@ -100,7 +100,6 @@ - diff --git a/src/Pretzel/WebHost/MemoryContentProvider.cs b/src/Pretzel/WebHost/MemoryContentProvider.cs deleted file mode 100644 index 0cd54b142..000000000 --- a/src/Pretzel/WebHost/MemoryContentProvider.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; - -namespace Pretzel -{ - public class MemoryContentProvider : IWebContent - { - private string basePath; - - /// - /// Set a base path to work from - /// - /// Base path - public void SetBasePath(string path) - { - basePath = path; - } - - /// - /// See if page is available - /// - /// Request string - /// True if available, false otherwise - public bool IsAvailable(string request) - { - return true; - } - - /// - /// Read file - /// - /// - /// Content to show to the user - public string GetContent(string request) - { - return "Hello world"; // Or something else from the project content maybe - } - - /// - /// Read file - /// - /// - /// Content to show to the user - public byte[] GetBinaryContent(string request) - { - throw new NotImplementedException(); - } - - /// - /// Checks if request points to a directory - /// - /// - /// - public bool IsDirectory(string request) - { - return false; - } - - } -}