From ec36d17cf8107f1cb10a32c7e5e160c5f6f60ce7 Mon Sep 17 00:00:00 2001 From: Renaud Paquay Date: Mon, 14 Feb 2011 12:34:05 -0800 Subject: [PATCH] Temporary fix for compilation errors --HG-- branch : dev --- src/Orchard.Azure/AzureFileSystem.cs | 5 +++-- .../FileSystems/Media/AzureBlobStorageProvider.cs | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Azure/AzureFileSystem.cs b/src/Orchard.Azure/AzureFileSystem.cs index 82ef0f7ae..b8170b117 100644 --- a/src/Orchard.Azure/AzureFileSystem.cs +++ b/src/Orchard.Azure/AzureFileSystem.cs @@ -154,15 +154,16 @@ namespace Orchard.Azure { } } - public void TryCreateFolder(string path) { + public bool TryCreateFolder(string path) { EnsurePathIsRelative(path); using (new HttpContextWeaver()) { if (Container.DirectoryExists(String.Concat(_root, path))) { - return; + return true; } CreateFile(Combine(path, FolderEntry)); } + return true; } public void CreateFolder(string path) { diff --git a/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs b/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs index e6fe9acac..341b06938 100644 --- a/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs +++ b/src/Orchard.Azure/FileSystems/Media/AzureBlobStorageProvider.cs @@ -10,5 +10,14 @@ namespace Orchard.Azure.FileSystems.Media { } public AzureBlobStorageProvider(ShellSettings shellSettings, CloudStorageAccount storageAccount) : base("media", shellSettings.Name, false, storageAccount) { } + + + public bool TrySaveStream(string path, System.IO.Stream inputStream) { + throw new System.NotImplementedException(); + } + + public void SaveStream(string path, System.IO.Stream inputStream) { + throw new System.NotImplementedException(); + } } } \ No newline at end of file