private static void CacheResults(HttpContext context, BatchCompilationEntry pce) { PreservedAssemblyEntry entry = new PreservedAssemblyEntry(context, pce.VirtualPath, false /*fApplicationFile*/, null /*assembly*/, pce.TypeObject, pce.FileDependencies); entry.SaveDataToFile(true /*fBatched*/); }
internal void AddPage(BatchCompilationEntry e) { if (_pages == null) { _pages = new ArrayList(); } _pages.Add(e); FileInfo file = new FileInfo(e.GeneratedSourceFile); _currentFileLength += file.Length; }