Removed unused method

--HG--
branch : dev
This commit is contained in:
Renaud Paquay 2010-07-18 13:38:40 -07:00
parent feb3f67020
commit 8db3a546d2
3 changed files with 1 additions and 11 deletions

View File

@ -33,10 +33,6 @@ namespace Orchard.Tests.Stubs {
return new Token {IsCurrent = true};
}
public void WhenPathChanges(string path, Action action) {
throw new NotImplementedException();
}
public class Token : IVolatileToken {
public bool IsCurrent { get; set; }
}

View File

@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.IO;
using Orchard.Caching;
@ -15,6 +14,5 @@ namespace Orchard.FileSystems.WebSite {
void CopyFileTo(string virtualPath, Stream destination);
IVolatileToken WhenPathChanges(string virtualPath);
void WhenPathChanges(string virtualPath, Action action);
}
}

View File

@ -51,10 +51,6 @@ namespace Orchard.FileSystems.WebSite {
return _virtualPathMonitor.WhenPathChanges(virtualPath);
}
public void WhenPathChanges(string virtualPath, Action action) {
_virtualPathMonitor.WhenPathChanges(virtualPath, action);
}
static string Normalize(string virtualPath) {
return HostingEnvironment.VirtualPathProvider.GetFile(virtualPath).VirtualPath;
}