public MemoryRedlockInstance(string name, MinValidityDelegate minValidity) { Name = name; _minValidity = minValidity; }
private static ImmutableArray <ExceptionRedlockInstance> ErrInstances(int count, MinValidityDelegate minValidity) => Instances(count, (i) => ExceptionRedlockInstance.Create(i.ToString(), minValidity));
public static ExceptionRedlockInstance Create(string name, MinValidityDelegate minValidity) => new ExceptionRedlockInstance(name, minValidity);
private static ImmutableArray <MemoryRedlockInstance> MemInstances(int count, MinValidityDelegate minValidity) => Instances(count, (i) => MemoryRedlockInstance.Create(i.ToString(), minValidity));
public ExceptionRedlockInstance(string name, MinValidityDelegate minValidity) { Name = name; _minValidity = minValidity; }