protected PostEditorFileLookupCache(DirectoryInfo dir, string cacheFilename, PostKeyGenerator pkg, string pattern) { this.dir = dir; this.cacheFilename = cacheFilename; this.pkg = pkg; this.pattern = pattern; }
public static FileInfo Lookup(DirectoryInfo dir, string cacheFilename, PostKeyGenerator pkg, string pattern, string blogId, string postId) { return(new PostEditorFileLookupCache(dir, cacheFilename, pkg, pattern).Lookup(blogId, postId)); }