示例#1
0
        public async Task AddAsync(double score, T item, string[] tags)
        {
            if (tags == null || tags.Length == 0)
            {
                await AddAsync(score, item).ForAwait();

                return;
            }
            await _cacheProvider.AddToSortedSetAsync(RedisKey, score, item, tags).ForAwait();
        }