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