3 overrides of Path
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
238
public override string
Path
=> _path;
Aspire.Hosting.Blazor.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
80
public override string
Path
=> path;
Aspire.Hosting.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
80
public override string
Path
=> path;
26 references to Path
Aspire.Hosting (5)
ApplicationModel\AspireStore.cs (1)
50
var tempFileName = _directoryService.TempDirectory.CreateTempFile().
Path
;
ApplicationModel\DotnetProgramPublishing.cs (1)
204
tempDockerfilePath = directoryService.TempDirectory.CreateTempFile("Dockerfile").
Path
;
ContainerResourceBuilderExtensions.cs (1)
833
var tempDockerfilePath = directoryService.TempDirectory.CreateTempFile("Dockerfile").
Path
;
Dashboard\InteractionFileUploadStore.cs (2)
85
return (fileId, tempFile.
Path
);
139
files.Add(new InteractionFileUpload(fileId, entry.OriginalFileName, entry.TempFile.
Path
));
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
481
var filePath = fileSystemService.TempDirectory.CreateTempFile().
Path
;
Aspire.Hosting.Rust (1)
RustHostingExtensions.cs (1)
818
.TempDirectory.CreateTempFile("Dockerfile").
Path
;
Aspire.Hosting.Tests (19)
FileSystemServiceTests.cs (19)
88
Assert.NotNull(tempFile.
Path
);
89
Assert.True(File.Exists(tempFile.
Path
));
99
Assert.NotNull(tempFile.
Path
);
100
Assert.True(File.Exists(tempFile.
Path
));
101
Assert.EndsWith("config.json", tempFile.
Path
);
109
var path = tempFile.
Path
;
123
var filePath = tempFile.
Path
;
168
extractedPath = tempFile.
Path
;
211
Assert.NotEqual(tempFile1.
Path
, tempFile2.
Path
);
212
Assert.True(File.Exists(tempFile1.
Path
));
213
Assert.True(File.Exists(tempFile2.
Path
));
241
var filePath = tempFile.
Path
;
261
var filePath = tempFile.
Path
;
304
var filePath = tempFile.
Path
;
331
var file1Path = tempFile1.
Path
;
332
var file2Path = tempFile2.
Path
;
371
var filePath = tempFile.
Path
;
389
var filePath = tempFile.
Path
;