コード例 #1
0
        public RedisDictionary(string name)
        {
            _namedDictionary = name;
            _hashID          = name.ToString();

            _cacheAccess = new RedisCacheAccess();
        }
コード例 #2
0
        public RedisContext(string workspace)
        {
            _workspace = workspace;
            _prefix    = workspace;

            _cacheAccess = new RedisCacheAccess();
        }
コード例 #3
0
        public RedisDictionary(string name, params int[] id)
        {
            _namedDictionary = name;
            _hashID          = name.ToString();

            for (int i = 0; i < id.Length; i++)
            {
                _hashID += "/" + id[i].ToString();
            }

            _cacheAccess = new RedisCacheAccess();
        }
コード例 #4
0
        public RedisContext(string workspace, params int[] id)
        {
            _workspace = workspace;
            _prefix    = workspace;

            for (int i = 0; i < id.Length; i++)
            {
                _prefix += "/" + id[i].ToString();
            }

            _cacheAccess = new RedisCacheAccess();
        }
コード例 #5
0
 public RedisSet(string workspace, string setName)
 {
     _namedDictionary = workspace;
     _setName         = setName;
     _cacheAccess     = new RedisCacheAccess();
 }