Пример #1
0
        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*/);
        }
Пример #2
0
            internal void AddPage(BatchCompilationEntry e)
            {
                if (_pages == null)
                {
                    _pages = new ArrayList();
                }
                _pages.Add(e);

                FileInfo file = new FileInfo(e.GeneratedSourceFile);

                _currentFileLength += file.Length;
            }