コード例 #1
0
        public Render FindWord(string word)
        {
            this.render = new Render();

            byte[] translation = this.redisClient.HGet("word:" + word,RedisFormatParser.ToAsciiCharArray(word));

            this.render.AppendTranslation(translation);

            return this.render;
        }
コード例 #2
0
        public Render ListWords()
        {
            this.render = new Render();

            byte[][] listOfWords = this.redisClient.SMembers("words");

            render.AppendWords(listOfWords);

            return this.render;
        }