3 instantiations of Locations
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (1)
11419var locations = new Locations(fileSystemService);
Dcp\DcpHostNotificationTests.cs (1)
36return new Locations(directoryService);
Dcp\KubernetesServiceTests.cs (1)
2247var locations = new Locations(fileSystem);
32 references to Locations
Aspire.Hosting (7)
Dcp\DcpHost.cs (3)
37private readonly Locations _locations; 62Locations locations, 297public 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)
621_innerBuilder.Services.AddSingleton<Locations>();
Aspire.Hosting.Tests (25)
Dcp\DcpExecutorTests.cs (1)
11419var locations = new Locations(fileSystemService);
Dcp\DcpHostNotificationTests.cs (21)
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(); 828var locations = CreateTestLocations(); 865var locations = CreateTestLocations(); 902var locations = CreateTestLocations(); 953var locations = CreateTestLocations(); 1001var locations = CreateTestLocations(); 1046var locations = CreateTestLocations();
Dcp\KubernetesServiceTests.cs (3)
44var locations = app.Services.GetRequiredService<Locations>(); 2247var locations = new Locations(fileSystem);