using System;using System.Collections.Generic;using System.Linq;using ServiceStack.Redis;using ServiceStack.Redis.Generic;namespace RedisHelper{ public class RedisTool : IDisposable { public RedisClient Redis = new RedisClient("127.0.0.1", 6379,…
项目里的Redis 工具类,写下来以备后用 public class RedisConnector { public class RedisParseResult<T> { public bool success; public T value; } private static string ConnectionString { get; set; } private static ConnectionMultiplexer RedisConnection { get; set; } pub…