protected CosmosOptionsExtension(CosmosOptionsExtension copyFrom) { _accountEndpoint = copyFrom._accountEndpoint; _accountKey = copyFrom._accountKey; _databaseName = copyFrom._databaseName; _executionStrategyFactory = copyFrom._executionStrategyFactory; _region = copyFrom._region; }
protected CosmosOptionsExtension(CosmosOptionsExtension copyFrom) { _serviceEndPoint = copyFrom._serviceEndPoint; _authKeyOrResourceToken = copyFrom._authKeyOrResourceToken; _databaseName = copyFrom._databaseName; _executionStrategyFactory = copyFrom._executionStrategyFactory; _region = copyFrom._region; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> protected CosmosOptionsExtension([NotNull] CosmosOptionsExtension copyFrom) { _accountEndpoint = copyFrom._accountEndpoint; _accountKey = copyFrom._accountKey; _databaseName = copyFrom._databaseName; _connectionString = copyFrom.ConnectionString; _executionStrategyFactory = copyFrom._executionStrategyFactory; _region = copyFrom._region; _connectionMode = copyFrom._connectionMode; }
protected CosmosOptionsExtension([NotNull] CosmosOptionsExtension copyFrom) { _accountEndpoint = copyFrom._accountEndpoint; _accountKey = copyFrom._accountKey; _databaseName = copyFrom._databaseName; _connectionString = copyFrom._connectionString; _region = copyFrom._region; _connectionMode = copyFrom._connectionMode; _limitToEndpoint = copyFrom._limitToEndpoint; _executionStrategyFactory = copyFrom._executionStrategyFactory; _webProxy = copyFrom._webProxy; _requestTimeout = copyFrom._requestTimeout; _openTcpConnectionTimeout = copyFrom._openTcpConnectionTimeout; _idleTcpConnectionTimeout = copyFrom._idleTcpConnectionTimeout; _gatewayModeMaxConnectionLimit = copyFrom._gatewayModeMaxConnectionLimit; _maxTcpConnectionsPerEndpoint = copyFrom._maxTcpConnectionsPerEndpoint; _maxRequestsPerTcpConnection = copyFrom._maxRequestsPerTcpConnection; }