Yi.Framework.Net6/Yi.Framework.Core/Cache/CacheInvoker.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using Microsoft.Extensions.Options;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Yi.Framework.Common.IOCOptions;
using CSRedis;
using static CSRedis.CSRedisClient;

namespace Yi.Framework.Core
{
    public abstract class CacheInvoker
    {

        public virtual  bool Exits(string key)
        {
          throw new NotImplementedException();
        }
        public virtual T Get<T>(string key)
        {
            throw new NotImplementedException();
        }

        public virtual bool Set<T>(string key, T data, TimeSpan time)
        {
            throw new NotImplementedException();
        }

        public virtual bool Set<T>(string key, T data)
        {
            throw new NotImplementedException();
        }

        public virtual long Del(string key)
        {
            throw new NotImplementedException();
        }

        public virtual bool HSet(string key, string fieId, object data)
        {
            throw new NotImplementedException();
        }

        public virtual bool HSet(string key, string fieId, object data, TimeSpan time)
        {
            throw new NotImplementedException();
        }

        public virtual T HGet<T>(string key, string field)
        {
            throw new NotImplementedException();
        }


        public virtual long HDel(string key, params string[] par)
        {
后面还有 93 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。