Пример #1
0
        protected CacheKey(CacheRegion region, string id) {
            Region = region;
            ID = id;

            Address = region != null
                            ? string.Format("{0}.{1}", region.Address, ID)
                            : ID;
        }
Пример #2
0
 public CacheRegion Region(string id) {
     var region = new CacheRegion(id, this);
     _dKeys[id] = region;
     return region;
 }
Пример #3
0
 public ValueCacheKey(CacheRegion region, string id)
     : base(region, id) { }
Пример #4
0
 private CacheRegion(string id, CacheRegion parentRegion) 
     : base(parentRegion, id) { }