Exemplo n.º 1
0
 public RedLockConfiguration(RedLockConnectionProvider connectionProvider, ILoggerFactory loggerFactory = null)
 {
     this.ConnectionProvider = connectionProvider ?? throw new ArgumentNullException(nameof(connectionProvider), "Connection provider must not be null");
     this.LoggerFactory      = loggerFactory;
 }
Exemplo n.º 2
0
 public RedLockConfiguration(RedLockConnectionProvider connectionProvider)
 {
     this.ConnectionProvider = connectionProvider ?? throw new ArgumentNullException(nameof(connectionProvider), "Connection provider must not be null");
 }