예제 #1
0
 public Task <double> IncrementAsync(string key, double amount = 1, TimeSpan?expiresIn = null)
 {
     return(UnscopedCache.IncrementAsync(GetScopedCacheKey(key), amount, expiresIn));
 }
예제 #2
0
 public Task <long> IncrementAsync(string key, long amount, TimeSpan?expiresIn = null)
 {
     return(UnscopedCache.IncrementAsync(GetUnscopedCacheKey(key), amount, expiresIn));
 }