public static bool TryEnqueue(string key, params string[] values) { if (!IsEnable) { throw new PlatformNotSupportedException("No Redis enable"); } RedisDatabase.ListLeftPush(key, values.ToRedisValueArray()); return(true); }
public static bool TryEnqueue(string key, params string[] values) { if (!IsEnable) { throw new PlatformNotSupportedException("No Redis enable"); } RedisDatabase.ListLeftPush(key, values.ToRedisValueArray()); return(true); }