Ejemplo n.º 1
0
        public void Write <T>(string key, T value)
        {
            var result = _serializationService.Serialize(value);

            if (EnableCompression)
            {
                result = result.Compress();
            }
            _adapter.WriteString(key, result);
        }