public Task UnlockManyAsync(object[] keys, object lockValue, CancellationToken cancellationToken) { try { UnlockMultipleCalls.Add(keys); return(Task.CompletedTask); } catch (Exception ex) { return(Task.FromException <object>(ex)); } }
public void UnlockMany(object[] keys, object lockValue) { UnlockMultipleCalls.Add(keys); }