示例#1
0
        public static ICache GetCurrentCache(CacheSupport type)
        {
            switch (type)
            {
            case CacheSupport.Test:
                return(new TestCacheImp());

            case CacheSupport.Redis:
                break;

            default:
                break;
            }

            return(null);
        }
示例#2
0
        public static ICache GetCurrentCache(CacheSupport type)
        {
            switch (type)
            {
                case CacheSupport.Test:
                    return new TestCacheImp();

                case CacheSupport.Redis:
                    break;

                default:
                    break;
            }

            return null;
        }