6 writes to RuntimeConfigurationOptions
Aspire.Azure.AI.OpenAI.Tests (2)
AzureOpenAISettingsTests.cs (1)
38RuntimeConfigurationOptions = { { "OpenAI.Experimental.EnableOpenTelemetry", true } }
ConformanceTests.cs (1)
108RuntimeConfigurationOptions = { { "OpenAI.Experimental.EnableOpenTelemetry", true } }
Aspire.Azure.Messaging.EventHubs.Tests (1)
AzureMessagingEventHubsSettingsTests.cs (1)
27RuntimeConfigurationOptions = { { "Azure.Experimental.EnableActivitySource", true } }
Aspire.Azure.Messaging.ServiceBus.Tests (1)
ConformanceTests.cs (1)
99RuntimeConfigurationOptions = { { "Azure.Experimental.EnableActivitySource", true } }
Aspire.OpenAI.Tests (2)
ConformanceTests.cs (1)
90RuntimeConfigurationOptions = { { "OpenAI.Experimental.EnableOpenTelemetry", true } }
OpenAISettingsTests.cs (1)
38RuntimeConfigurationOptions = { { "OpenAI.Experimental.EnableOpenTelemetry", true } }
20 references to RuntimeConfigurationOptions
Microsoft.AspNetCore.Components.Tests (1)
ParameterViewTest.Assignment.cs (1)
608options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", "false");
Microsoft.AspNetCore.Http.Extensions.Tests (4)
JsonOptionsTests.cs (2)
18options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", false.ToString()); 36options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", true.ToString());
RequestDelegateFactoryTests.cs (2)
3223options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", false.ToString()); 3243options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", true.ToString());
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsOfTHelperTests.cs (4)
21options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", isDynamicCodeSupported.ToString()); 38options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", isDynamicCodeSupported.ToString()); 55options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", isDynamicCodeSupported.ToString()); 70options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", false.ToString());
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
ModelBinding\ModelMetadataTest.cs (2)
415options.RuntimeConfigurationOptions.Add("Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported", false); 432options.RuntimeConfigurationOptions.Add("Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported", true);
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
276options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", isReflectionEnabledByDefault.ToString());
JsonOptionsTest.cs (2)
17options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", false.ToString()); 35options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", true.ToString());
Microsoft.AspNetCore.SignalR.Tests (3)
NativeAotTests.cs (3)
162options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", "false"); 163options.RuntimeConfigurationOptions.Add("Microsoft.AspNetCore.SignalR.Hub.IsCustomAwaitableSupported", "false"); 164options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", "false");
Microsoft.DotNet.RemoteExecutor (3)
RemoteExecutor.cs (3)
484if (options.RuntimeConfigurationOptions?.Any() == true&& !isNetCore) 519if (options.RuntimeConfigurationOptions?.Any() != true) 539options.RuntimeConfigurationOptions.Select(kvp => $"\"{kvp.Key}\": {ToJsonString(kvp.Value)}"));