示例#1
0
        public T Read <T>(string key)
        {
            var result = _adapter.ReadString(key);

            if (EnableCompression)
            {
                result = result.Decompress();
            }
            return(_serializationService.Deserialize <T>(result));
        }