private static ImmutableArray <MemoryRedlockInstance> MemInstances(int count, MinValidityDelegate minValidity) => Instances(count, (i) => MemoryRedlockInstance.Create(i.ToString(), minValidity));
private static void Unlock(string key, params MemoryRedlockInstance[] instances) => MemoryRedlockInstance.Unlock(key, instances.ToImmutableArray());
private static void Lock(string key, string nonce, params MemoryRedlockInstance[] instances) => MemoryRedlockInstance.Lock(key, nonce, instances.ToImmutableArray());
private static void Unlock(string key, ImmutableArray <MemoryRedlockInstance> instances) => MemoryRedlockInstance.Unlock(key, instances);
private static void Lock(string key, string nonce, TimeSpan ttl, ImmutableArray <MemoryRedlockInstance> instances) => MemoryRedlockInstance.Lock(key, nonce, ttl, instances);