Пример #1
0
 internal DiskBuildResultCache(string cacheDir)
 {
     this._cacheDir = cacheDir;
     if (s_maxRecompilations < 0)
     {
         s_maxRecompilations = CompilationUtil.GetRecompilationsBeforeAppRestarts();
     }
 }
Пример #2
0
        internal DiskBuildResultCache(string cacheDir)
        {
            _cacheDir = cacheDir;

            // Find out how many recompilations we allow before restarting the appdomain
            if (s_maxRecompilations < 0)
            {
                s_maxRecompilations = CompilationUtil.GetRecompilationsBeforeAppRestarts();
            }
        }