39 references to ToDictionary
Aspire.Confluent.Kafka (2)
AspireKafkaConsumerExtensions.cs (1)
178options.Configuration = new ProducerConfig(connectionFactory.Config.ToDictionary());
AspireKafkaProducerExtensions.cs (1)
178options.Configuration = new ProducerConfig(connectionFactory.Config.ToDictionary());
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
170return _resourceUnviewedErrorLogs.ToDictionary();
Aspire.Dashboard.Tests (1)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
29}.ToDictionary(),
Aspire.Hosting (2)
ApplicationModel\ResourceLoggerService.cs (1)
335internal Dictionary<string, ResourceLoggerState> Loggers => _loggers.ToDictionary();
Dashboard\DashboardService.cs (1)
160dto.Options.Add(input.Options.ToDictionary());
Aspire.Hosting.Kubernetes (11)
Extensions\ResourceExtensions.cs (11)
18Labels = context.Labels.ToDictionary(), 22Selector = new(context.Labels.ToDictionary()), 47Labels = context.Labels.ToDictionary(), 51Selector = new(context.Labels.ToDictionary()), 72Labels = context.Labels.ToDictionary(), 103Labels = context.Labels.ToDictionary(), 130Labels = context.Labels.ToDictionary(), 134Selector = context.Labels.ToDictionary(), 160Labels = context.Labels.ToDictionary(), 391Labels = context.Labels.ToDictionary(), 435Labels = context.Labels.ToDictionary(),
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
126Metadata = { Name = "myapp-rollout", Labels = serviceResource.Labels.ToDictionary() }, 127Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.Labels.ToDictionary() } }
dotnet (2)
Commands\Run\CommonRunHelpers.cs (1)
19var globalProperties = msbuildArgs.GlobalProperties?.ToDictionary() ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Commands\Run\RunCommand.cs (1)
851var globalProperties = MSBuildArgs.GlobalProperties?.ToDictionary() ?? new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
dotnet.Tests (1)
CommandTests\Workload\Update\GivenDotnetWorkloadUpdate.cs (1)
318new ManifestUpdateWithWorkloads(new ManifestVersionUpdate(new ManifestId("android"), new ManifestVersion("2.3.4"), "8.0.200"), Enumerable.Empty<KeyValuePair<WorkloadId, WorkloadDefinition>>().ToDictionary())
Microsoft.AspNetCore.Hosting.Tests (1)
HostingApplicationDiagnosticsTests.cs (1)
1196tags = Activity.Current.TagObjects.ToDictionary();
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\DictionaryModelBinder.cs (1)
233return collection.ToDictionary();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (15)
HubConnectionTests.Tracing.cs (15)
160var baggage = a.Baggage.ToDictionary(); 172var baggage = a.Baggage.ToDictionary(); 193var baggage = clientActivity1.Baggage.ToDictionary(); 196var tags = clientActivity1.TagObjects.ToDictionary(); 210baggage = clientActivity2.Baggage.ToDictionary(); 213tags = clientActivity2.TagObjects.ToDictionary(); 333var baggage = a.Baggage.ToDictionary(); 354var baggage = clientActivity.Baggage.ToDictionary(); 357var tags = clientActivity.TagObjects.ToDictionary(); 449var tags = clientActivity.TagObjects.ToDictionary(); 458var tags = clientActivity.TagObjects.ToDictionary(); 546var tags = clientActivity.TagObjects.ToDictionary(); 555var tags = clientActivity.TagObjects.ToDictionary(); 641var tags = clientActivity.TagObjects.ToDictionary(); 651var tags = clientActivity.TagObjects.ToDictionary();