internal CacheUsage(System.Web.Caching.CacheSingle cacheSingle) { this._cacheSingle = cacheSingle; this._buckets = new UsageBucket[5]; for (byte i = 0; i < this._buckets.Length; i = (byte)(i + 1)) { this._buckets[i] = new UsageBucket(this, i); } }
internal CacheUsage(System.Web.Caching.CacheSingle cacheSingle) { this._cacheSingle = cacheSingle; this._buckets = new UsageBucket[5]; for (byte i = 0; i < this._buckets.Length; i = (byte) (i + 1)) { this._buckets[i] = new UsageBucket(this, i); } }
internal CacheExpires(System.Web.Caching.CacheSingle cacheSingle) { DateTime utcNow = DateTime.UtcNow; this._cacheSingle = cacheSingle; this._buckets = new ExpiresBucket[30]; for (byte i = 0; i < this._buckets.Length; i = (byte) (i + 1)) { this._buckets[i] = new ExpiresBucket(this, i, utcNow); } }
internal CacheExpires(System.Web.Caching.CacheSingle cacheSingle) { DateTime utcNow = DateTime.UtcNow; this._cacheSingle = cacheSingle; this._buckets = new ExpiresBucket[30]; for (byte i = 0; i < this._buckets.Length; i = (byte)(i + 1)) { this._buckets[i] = new ExpiresBucket(this, i, utcNow); } }