4 overrides of Path
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
186public override string Path => _path;
Aspire.Hosting.Blazor.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
62public override string Path => path;
Aspire.Hosting.Tests (2)
Dcp\KubernetesServiceTests.cs (1)
354public override string Path => path;
tests\Shared\TestFileSystemService.cs (1)
62public override string Path => path;
36 references to Path
Aspire.Hosting (2)
Dcp\Locations.cs (1)
29_dcpSessionDir = _directoryService.TempDirectory.CreateTempSubdirectory("aspire-dcp").Path;
Pipelines\PipelineOutputService.cs (1)
44_tempDirectory = directoryService.TempDirectory.CreateTempSubdirectory("aspire-pipelines").Path;
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (1)
145var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").Path;
Provisioning\Provisioners\BicepProvisioner.cs (1)
547var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").Path;
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.AksPipeline.cs (1)
306var kubeConfigPath = Path.Combine(kubeConfigDir.Path, "kubeconfig");
Aspire.Hosting.Blazor.Tests (4)
BlazorHostedExtensionsTests.cs (4)
267var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 583var serverDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Server")); 584var clientDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Client")); 607var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj");
Aspire.Hosting.Browsers (1)
BrowserLogsUserDataDirectory.cs (1)
31new(temporaryDirectory.Path, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsUserDataDirectory.cs (1)
31new(temporaryDirectory.Path, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.Maui (2)
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
79var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-android-env").Path;
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
79var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-mlaunch-env").Path;
Aspire.Hosting.Tests (23)
Dcp\DcpExecutorTests.cs (5)
5417[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 5433var expectedCertificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 5468[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 5481var certificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 10210aspireStoreDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-store").Path;
FileSystemServiceTests.cs (18)
33Assert.NotNull(tempDir.Path); 34Assert.True(Directory.Exists(tempDir.Path)); 44Assert.NotNull(tempDir.Path); 45Assert.True(Directory.Exists(tempDir.Path)); 46Assert.Contains("test-prefix", tempDir.Path); 54var path = tempDir.Path; 128extractedPath = tempDir.Path; 180Assert.NotEqual(tempDir1.Path, tempDir2.Path); 181Assert.True(Directory.Exists(tempDir1.Path)); 182Assert.True(Directory.Exists(tempDir2.Path)); 222var dirPath = tempDir.Path; 242var dirPath = tempDir.Path; 266var dirPath = tempDir.Path; 311var dir1Path = tempDir1.Path; 312var dir2Path = tempDir2.Path; 352var dirPath = tempDir.Path; 421Assert.True(Directory.Exists(tempDir.Path));