93 references to Bind
Aspire.Azure.AI.OpenAI (2)
AspireAzureOpenAIExtensions.cs (2)
115clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 121config.Bind(settings);
Aspire.Azure.Data.Tables (2)
AspireTablesExtensions.cs (2)
87clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 93configuration.Bind(settings);
Aspire.Azure.Messaging.EventHubs (10)
EventHubBufferedProducerClientComponent.cs (2)
17configuration.Bind(settings); 23clientBuilder.ConfigureOptions(options => configuration.Bind(options));
EventHubConsumerClientComponent.cs (2)
18clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 24config.Bind(settings);
EventHubProducerClientComponent.cs (2)
18clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 24config.Bind(settings);
EventProcessorClientComponent.cs (2)
25clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 32config.Bind(settings);
PartitionReceiverClientComponent.cs (2)
20clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 26config.Bind(settings);
Aspire.Azure.Messaging.ServiceBus (2)
AspireServiceBusExtensions.cs (2)
101clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 107config.Bind(settings);
Aspire.Azure.Messaging.WebPubSub (2)
AspireWebPubSubExtensions.cs (2)
107clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 113config.Bind(settings);
Aspire.Azure.Search.Documents (2)
AspireAzureSearchExtensions.cs (2)
94clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 100config.Bind(settings);
Aspire.Azure.Security.KeyVault (4)
AspireKeyVaultExtensions.cs (4)
97configSection.Bind(settings); 107configSection.GetSection("ClientOptions").Bind(clientOptions); 141clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 147configuration.Bind(settings);
Aspire.Azure.Storage.Blobs (2)
AspireBlobStorageExtensions.cs (2)
87clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 93configuration.Bind(settings);
Aspire.Azure.Storage.Queues (2)
AspireQueueStorageExtensions.cs (2)
90clientBuilder.ConfigureOptions(options => configuration.Bind(options)); 96configuration.Bind(settings);
Aspire.Confluent.Kafka (8)
AspireKafkaConsumerExtensions.cs (4)
216configSection.Bind(settings); 217namedConfigSection.Bind(settings); 220configSection.GetSection(nameof(KafkaConsumerSettings.Config)).Bind(settings.Config); 221namedConfigSection.GetSection(nameof(KafkaConsumerSettings.Config)).Bind(settings.Config);
AspireKafkaProducerExtensions.cs (4)
216configSection.Bind(settings); 217namedConfigSection.Bind(settings); 220configSection.GetSection(nameof(KafkaProducerSettings.Config)).Bind(settings.Config); 221namedConfigSection.GetSection(nameof(KafkaProducerSettings.Config)).Bind(settings.Config);
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
452dashboardConfigSection.Bind(dashboardOptions);
Aspire.Elastic.Clients.Elasticsearch (2)
AspireElasticClientsElasticsearchExtensions.cs (2)
79configSection.Bind(settings); 80namedConfigSection.Bind(settings);
Aspire.Microsoft.Azure.Cosmos (2)
AspireMicrosoftAzureCosmosExtensions.cs (2)
71configSection.Bind(settings); 72namedConfigSection.Bind(settings);
Aspire.Microsoft.Data.SqlClient (2)
AspireSqlServerSqlClientExtensions.cs (2)
58configSection.Bind(settings); 59namedConfigSection.Bind(settings);
Aspire.Microsoft.EntityFrameworkCore.Cosmos (2)
AspireAzureEFCoreCosmosExtensions.cs (2)
51(settings, section) => section.Bind(settings) 129(settings, section) => section.Bind(settings)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
AspireSqlServerEFCoreSqlClientExtensions.cs (2)
49(settings, section) => section.Bind(settings) 102(settings, section) => section.Bind(settings)
Aspire.Milvus.Client (2)
AspireMilvusExtensions.cs (2)
71configSection.Bind(settings); 72namedConfigSection.Bind(settings);
Aspire.MongoDB.Driver (2)
AspireMongoDBDriverExtensions.cs (2)
220configSection.Bind(settings); 221namedConfigSection.Bind(settings);
Aspire.MySqlConnector (2)
AspireMySqlConnectorExtensions.cs (2)
61configSection.Bind(settings); 62namedConfigSection.Bind(settings);
Aspire.NATS.Net (2)
AspireNatsClientExtensions.cs (2)
119configSection.Bind(settings); 120namedConfigSection.Bind(settings);
Aspire.Npgsql (2)
AspirePostgreSqlNpgsqlExtensions.cs (2)
62configSection.Bind(settings); 63namedConfigSection.Bind(settings);
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (2)
AspireEFPostgreSqlExtensions.cs (2)
57(settings, section) => section.Bind(settings) 113(settings, section) => section.Bind(settings)
Aspire.OpenAI (4)
AspireOpenAIExtensions.cs (4)
77configSection.Bind(settings); 78namedConfigSection.Bind(settings); 93configSection.GetSection("ClientOptions").Bind(options); 94namedConfigSection.GetSection("ClientOptions").Bind(options);
Aspire.Oracle.EntityFrameworkCore (2)
AspireOracleEFCoreExtensions.cs (2)
50(settings, section) => section.Bind(settings) 101(settings, section) => section.Bind(settings)
Aspire.Pomelo.EntityFrameworkCore.MySql (2)
AspireEFMySqlExtensions.cs (2)
61(settings, section) => section.Bind(settings) 149(settings, section) => section.Bind(settings)
Aspire.Qdrant.Client (2)
AspireQdrantExtensions.cs (2)
66configSection.Bind(settings); 67namedConfigSection.Bind(settings);
Aspire.RabbitMQ.Client (4)
AspireRabbitMQExtensions.cs (4)
78configSection.Bind(settings); 79namedConfigSection.Bind(settings); 97configurationOptionsSection.Bind(factory); 98namedConfigurationOptionsSection.Bind(factory);
Aspire.Seq (2)
AspireSeqExtensions.cs (2)
44configSection.Bind(settings); 45namedConfigSection.Bind(settings);
Aspire.StackExchange.Redis (3)
AspireRedisExtensions.cs (3)
74configSection.Bind(settings); 75namedConfigSection.Bind(settings); 173configurationOptionsSection.Bind(options);
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingServiceCollectionExtensions.cs (1)
63return services.AddHttpLoggingRedaction(o => section.Bind(o));
Microsoft.Extensions.Configuration.Binder (1)
ConfigurationBinder.cs (1)
114configuration.GetSection(key).Bind(instance);
Microsoft.Extensions.Diagnostics.Probes (1)
KubernetesProbesExtensions.cs (1)
36return services.AddKubernetesProbes(o => section.Bind(o));
Microsoft.Extensions.Logging.Console (5)
ConsoleFormatterOptions.cs (1)
44internal virtual void Configure(IConfiguration configuration) => configuration.Bind(this);
ConsoleLoggerConfigureOptions.cs (1)
29public void Configure(ConsoleLoggerOptions options) => _configuration.Bind(options);
ConsoleLoggerExtensions.Obsolete.cs (1)
146configSettings._configuration.Bind(options);
JsonConsoleFormatterOptions.cs (1)
26internal override void Configure(IConfiguration configuration) => configuration.Bind(this);
SimpleConsoleFormatterOptions.cs (1)
31internal override void Configure(IConfiguration configuration) => configuration.Bind(this);
Microsoft.Extensions.Options.ConfigurationExtensions (3)
ConfigureFromConfigurationOptions.cs (2)
14/// Configures an option instance by using <see cref="ConfigurationBinder.Bind(IConfiguration, object)"/> against an <see cref="IConfiguration"/>. 28: base(options => ConfigurationBinder.Bind(config, options))
NamedConfigureFromConfigurationOptions.cs (1)
12/// Configures an option instance by using <see cref="ConfigurationBinder.Bind(IConfiguration, object)"/> against an <see cref="IConfiguration"/>.
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\E2ETesting\E2ETestOptions.cs (1)
49Configuration.Bind(instance);
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\E2ETesting\E2ETestOptions.cs (1)
49Configuration.Bind(instance);
Templates.Mvc.Tests (1)
src\Shared\E2ETesting\E2ETestOptions.cs (1)
49Configuration.Bind(instance);
Templates.Tests (1)
src\Shared\E2ETesting\E2ETestOptions.cs (1)
49Configuration.Bind(instance);