1234567891011121314151617181920 |
- using OASystem.RedisRepository.CommonHelper;
- using StackExchange.Redis;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.RedisRepository.RedisAsyncHelper
- {
- internal partial class RedisHelper
- {
- public async Task<bool> SetAddAsync<T>(string key, T value)
- {
- return await _client.SetAddAsync(key, SerializeHelper.Serialize(value));
- }
- }
- }
|