mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-15 10:06:10 +08:00
Removed unused method
--HG-- branch : dev
This commit is contained in:
parent
feb3f67020
commit
8db3a546d2
@ -33,10 +33,6 @@ namespace Orchard.Tests.Stubs {
|
|||||||
return new Token {IsCurrent = true};
|
return new Token {IsCurrent = true};
|
||||||
}
|
}
|
||||||
|
|
||||||
public void WhenPathChanges(string path, Action action) {
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public class Token : IVolatileToken {
|
public class Token : IVolatileToken {
|
||||||
public bool IsCurrent { get; set; }
|
public bool IsCurrent { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Orchard.Caching;
|
using Orchard.Caching;
|
||||||
|
|
||||||
@ -15,6 +14,5 @@ namespace Orchard.FileSystems.WebSite {
|
|||||||
void CopyFileTo(string virtualPath, Stream destination);
|
void CopyFileTo(string virtualPath, Stream destination);
|
||||||
|
|
||||||
IVolatileToken WhenPathChanges(string virtualPath);
|
IVolatileToken WhenPathChanges(string virtualPath);
|
||||||
void WhenPathChanges(string virtualPath, Action action);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -51,10 +51,6 @@ namespace Orchard.FileSystems.WebSite {
|
|||||||
return _virtualPathMonitor.WhenPathChanges(virtualPath);
|
return _virtualPathMonitor.WhenPathChanges(virtualPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void WhenPathChanges(string virtualPath, Action action) {
|
|
||||||
_virtualPathMonitor.WhenPathChanges(virtualPath, action);
|
|
||||||
}
|
|
||||||
|
|
||||||
static string Normalize(string virtualPath) {
|
static string Normalize(string virtualPath) {
|
||||||
return HostingEnvironment.VirtualPathProvider.GetFile(virtualPath).VirtualPath;
|
return HostingEnvironment.VirtualPathProvider.GetFile(virtualPath).VirtualPath;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user