public ImplicitCacheMonitor(ProjectCacheService owner, int backOffTimeSpanInMS) :
                base(AsynchronousOperationListenerProvider.NullListener,
                     backOffTimeSpanInMS,
                     CancellationToken.None)
            {
                _owner = owner;
                _gate  = new SemaphoreSlim(0);

                Start();
            }
Beispiel #2
0
 public Cache(ProjectCacheService cacheService, ProjectId key)
 {
     _cacheService = cacheService;
     _key          = key;
 }