5 instantiations of Locations
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (1)
12116var locations = new Locations(fileSystemService);
Dcp\DcpHostNotificationTests.cs (3)
36return new Locations(directoryService); 728var locations = new Locations(fileSystemService); 957var locations = new Locations(fileSystemService);
Dcp\KubernetesServiceTests.cs (1)
2358var locations = new Locations(fileSystem);
34 references to Locations
Aspire.Hosting (7)
Dcp\DcpHost.cs (3)
37private readonly Locations _locations; 52Locations locations, 316public ProcessSpec CreateDcpProcessSpec(Locations locations)
Dcp\ExecutableConfigurationResolver.cs (2)
24Locations locations, 28private readonly Locations _locations = locations;
Dcp\KubernetesService.cs (1)
85internal sealed class KubernetesService(ILogger<KubernetesService> logger, IOptions<DcpOptions> dcpOptions, Locations locations, IConfiguration configuration, TimeProvider timeProvider) : IKubernetesService, IDisposable
DistributedApplicationBuilder.cs (1)
629_innerBuilder.Services.AddSingleton<Locations>();
Aspire.Hosting.Tests (27)
Dcp\DcpExecutorTests.cs (1)
12116var locations = new Locations(fileSystemService);
Dcp\DcpHostNotificationTests.cs (23)
33private static Locations CreateTestLocations() 47var locations = CreateTestLocations(); 92var locations = CreateTestLocations(); 135var locations = CreateTestLocations(); 189var locations = CreateTestLocations(); 234var locations = CreateTestLocations(); 279var locations = CreateTestLocations(); 333var locations = CreateTestLocations(); 401var locations = CreateTestLocations(); 441var locations = CreateTestLocations(); 467var locations = CreateTestLocations(); 511var locations = CreateTestLocations(); 531var locations = CreateTestLocations(); 666var locations = CreateTestLocations(); 707var locations = CreateTestLocations(); 728var locations = new Locations(fileSystemService); 957var locations = new Locations(fileSystemService); 1077var locations = CreateTestLocations(); 1114var locations = CreateTestLocations(); 1151var locations = CreateTestLocations(); 1202var locations = CreateTestLocations(); 1250var locations = CreateTestLocations(); 1295var locations = CreateTestLocations();
Dcp\KubernetesServiceTests.cs (3)
44var locations = app.Services.GetRequiredService<Locations>(); 2358var locations = new Locations(fileSystem);