2 overrides of TryGetValue
System.Data.Odbc (1)
System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
250public override bool TryGetValue(string keyword, [NotNullWhen(true)] out object? value)
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
150public override bool TryGetValue(string keyword, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] out object? value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
11 references to TryGetValue
Aspire.Azure.AI.OpenAI (2)
AspireConfigurableOpenAIExtensions.cs (2)
91if (connectionBuilder.TryGetValue(ConnectionStringEndpoint, out var endpoint) && endpoint != null && Uri.TryCreate(endpoint.ToString(), UriKind.Absolute, out var endpointUri)) 96if (connectionBuilder.TryGetValue(ConnectionStringKey, out var key) && key != null)
Aspire.Hosting.Azure.CosmosDB (1)
src\Shared\Cosmos\CosmosUtils.cs (1)
19if (!builder.TryGetValue("AccountKey", out var v))
Aspire.Hosting.Qdrant (2)
QdrantBuilderExtensions.cs (2)
168if (connectionBuilder.TryGetValue("Endpoint", out var endpointValue) && Uri.TryCreate(endpointValue.ToString(), UriKind.Absolute, out var serviceUri)) 173if (connectionBuilder.TryGetValue("Key", out var keyValue))
Aspire.Microsoft.Azure.Cosmos (1)
src\Shared\Cosmos\CosmosUtils.cs (1)
19if (!builder.TryGetValue("AccountKey", out var v))
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
src\Shared\Cosmos\CosmosUtils.cs (1)
19if (!builder.TryGetValue("AccountKey", out var v))
Aspire.OpenAI (1)
AspireOpenAIClientBuilder.cs (1)
97=> connectionString.TryGetValue(key, out var value) ? value as string : null;
System.Data.Common (2)
System\Data\Common\DbConnectionStringBuilder.cs (1)
149if (ShouldSerialize(keyword) && TryGetValue(keyword, out value))
System\Data\Common\DbConnectionStringBuilderDescriptor.cs (1)
34if (builder.TryGetValue(DisplayName, out value))
System.Data.Odbc (1)
System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
259return base.TryGetValue(keyword, out value);