Ejemplo n.º 1
0
        public CacheState()
        {
            this.cloudCache = new ItemCacheCloud();
            this.localCache = new ItemCacheLocal(
                Path.Combine(GetDefaultIronRoot(), "nucache"));

            int containerCount = Enum.GetValues(typeof(ItemCacheContainer)).Length;

            this.cloudItems = new HashSet <string> [containerCount];
            this.localItems = new HashSet <string> [containerCount];
        }
Ejemplo n.º 2
0
 public CacheState()
 {
     this.cloudCache = new ItemCacheCloud();
     this.localCache = new ItemCacheLocal(
         Path.Combine(GetDefaultIronRoot(), "nucache"));
 }