private string[] GetDependencyEntries(string currentDependencyDirectoryPath)
{
string currentDependencyFilePath = VirtualPath.Combine('/', currentDependencyDirectoryPath, ".dep");
DependencyCache dependencyCacheEntry = null;
if (!dependencyCache.TryGetValue(currentDependencyFilePath, out dependencyCacheEntry) || dependencyCacheEntry.dependencyListLastModified < File.GetLastWriteTime(currentDependencyFilePath))
{
dependencyCacheEntry =
new DependencyCache()
{
dependencyListLastModified = File.GetLastWriteTime(currentDependencyFilePath),
dependencyList = File.ReadAllLines(this.Context.Server.MapPath(currentDependencyFilePath))
};
VirtualFileAssembler.dependencyCache[currentDependencyFilePath] = dependencyCacheEntry;
}
return dependencyCacheEntry.dependencyList;
}