| 1234567891011121314151617181920212223242526 |
- namespace SiteCore.Redis
- {
- public class erpRedis
- {
- private static RedisHelp _instance;
- private static readonly object dLocker = new object();
- public static RedisHelp RedisHelper
- {
- get
- {
- if (_instance == null)
- {
- lock (dLocker)
- {
- if (_instance == null)
- {
- _instance = new RedisHelp(11);
- }
- }
- }
- return _instance;
- }
- }
- }
- }
|