File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ public string ProxyHost
445
445
set
446
446
{
447
447
if ( _isFrozen ) { throw new InvalidOperationException ( "MongoClientSettings is frozen." ) ; }
448
- _proxyHost = Ensure . IsNotNullOrEmpty ( value , nameof ( ProxyHost ) ) ;
448
+ _proxyHost = value ;
449
449
}
450
450
}
451
451
@@ -477,7 +477,7 @@ public string ProxyUsername
477
477
set
478
478
{
479
479
if ( _isFrozen ) { throw new InvalidOperationException ( "MongoClientSettings is frozen." ) ; }
480
- _proxyUsername = Ensure . IsNotNullOrEmpty ( value , nameof ( ProxyUsername ) ) ;
480
+ _proxyUsername = value ;
481
481
}
482
482
}
483
483
@@ -490,7 +490,7 @@ public string ProxyPassword
490
490
set
491
491
{
492
492
if ( _isFrozen ) { throw new InvalidOperationException ( "MongoClientSettings is frozen." ) ; }
493
- _proxyPassword = Ensure . IsNotNullOrEmpty ( value , nameof ( ProxyPassword ) ) ;
493
+ _proxyPassword = value ;
494
494
}
495
495
}
496
496
You can’t perform that action at this time.
0 commit comments