12345678910111213141516171819202122 |
- using OASystem.RedisRepository.RedisAsyncHelper;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.RedisRepository
- {
- public class RedisFactory
- {
- /// <summary>
- /// 外部访问redis入口,暂时只暴露异步方法
- /// </summary>
- /// <returns></returns>
- public static IRedisHelper CreateRedisRepository()
- {
- return new RedisHelper();
- }
- }
- }
|