Пример #1
0
        public void Sleep(IOptionsAccessor <MvcOptions> accessor, ControllableExpiringFileInfoCache cache, int offsetMilliSeconds)
        {
            var baseMilliSeconds = (int)accessor.Options.ViewEngineOptions.ExpirationBeforeCheckingFilesOnDisk.TotalMilliseconds;

            cache.Sleep(baseMilliSeconds + offsetMilliSeconds);
        }
Пример #2
0
        public void Sleep(IOptionsAccessor<MvcOptions> accessor, ControllableExpiringFileInfoCache cache, int offsetMilliSeconds)
        {
            var baseMilliSeconds = (int)accessor.Options.ViewEngineOptions.ExpirationBeforeCheckingFilesOnDisk.TotalMilliseconds;

            cache.Sleep(baseMilliSeconds + offsetMilliSeconds);
        }
Пример #3
0
 public void Sleep(ControllableExpiringFileInfoCache cache, int offsetMilliseconds)
 {
     cache.Sleep(offsetMilliseconds);
 }
Пример #4
0
 public void Sleep(ControllableExpiringFileInfoCache cache, int offsetMilliseconds)
 {
     cache.Sleep(offsetMilliseconds);
 }