35 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 _applicationUnviewedErrorLogs.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)
144dto.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(), 360Labels = context.Labels.ToDictionary(), 404Labels = context.Labels.ToDictionary(),
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
125Metadata = { Name = "myapp-rollout", Labels = serviceResource.Labels.ToDictionary() }, 126Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.Labels.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();