Temporary fix for compilation errors

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2011-02-14 12:34:05 -08:00
parent e796652c0b
commit ec36d17cf8
2 changed files with 12 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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();
}
}
}