public ConnectionSettings(UserCredentials defaultUserCredentials, TimeSpan? connectionTimeout, Action<IEventStoreHttpConnection, Exception> errorHandler, ILog log, IHttpClientProxy httpClientProxy, string connectionName)
 {
     DefaultUserCredentials = defaultUserCredentials;
     ConnectionTimeout = connectionTimeout;
     ErrorHandler = errorHandler;
     Log = log;
     HttpClientProxy = httpClientProxy;
     ConnectionName = connectionName;
 }
 public ConnectionSettingsBuilder SetDefaultUserCredentials(UserCredentials credentials)
 {
     _defaultUserCredentials = credentials;
     return this;
 }