27 implementations of PhysicalPath
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Builder\TestFileProvider\TestDirectoryContent.cs (1)
22public string PhysicalPath => throw new NotSupportedException();
Builder\TestFileProvider\TestFileInfo.cs (1)
20public string PhysicalPath { get; set; }
Builder\TestFileProvider\TestFileProvider.cs (1)
166public string PhysicalPath
Microsoft.AspNetCore.Components.WebView (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
266public string? PhysicalPath => null; 290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Components.WebView.Maui (1)
iOS\iOSMauiAssetFileProvider.cs (1)
49 public string PhysicalPath { get; } = null!;
Microsoft.AspNetCore.Components.WebView.Test (1)
StaticContentProviderTests.cs (1)
117public string PhysicalPath => null;
Microsoft.AspNetCore.Diagnostics.Tests (1)
ExceptionDetailsProviderTest.cs (1)
361public string PhysicalPath
Microsoft.AspNetCore.Hosting (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
266public string? PhysicalPath => null; 290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Hosting.Tests (1)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (1)
781public string PhysicalPath { get; set; }
Microsoft.AspNetCore.Mvc.Views.TestCommon (4)
TestDirectoryContent.cs (1)
22public string PhysicalPath => throw new NotSupportedException();
TestDirectoryFileInfo.cs (1)
14public string PhysicalPath { get; set; }
TestFileInfo.cs (1)
20public string PhysicalPath { get; set; }
TestFileProvider.cs (1)
166public string PhysicalPath
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
CertificatePathWatcherTests.cs (1)
569string IFileInfo.PhysicalPath => throw new NotSupportedException();
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileContextTest.cs (2)
219public string PhysicalPath 252public string PhysicalPath { get; set; }
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
KeyPerFileTests.cs (1)
521public string PhysicalPath => "Root/" + Name;
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundFileInfo.cs (1)
50public string? PhysicalPath => null;
Microsoft.Extensions.FileProviders.Embedded (3)
EmbeddedResourceFileInfo.cs (1)
63public string? PhysicalPath => null;
Manifest\ManifestDirectoryInfo.cs (1)
34public string? PhysicalPath => null;
Manifest\ManifestFileInfo.cs (1)
33public string? PhysicalPath => null;
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
TestFileInfo.cs (1)
24public string PhysicalPath => null;
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalDirectoryInfo.cs (1)
46public string PhysicalPath => _info.FullName;
PhysicalFileInfo.cs (1)
32public string PhysicalPath => _info.FullName;
RazorBuildWebSite (1)
UpdateableFileProvider.cs (1)
96public string PhysicalPath => null;
43 references to PhysicalPath
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Diagnostics (2)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (2)
122if (!string.IsNullOrEmpty(fileInfo.PhysicalPath)) 124lines = File.ReadLines(fileInfo.PhysicalPath);
Microsoft.AspNetCore.Hosting (3)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (2)
122if (!string.IsNullOrEmpty(fileInfo.PhysicalPath)) 124lines = File.ReadLines(fileInfo.PhysicalPath);
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
290public string PhysicalPath => _source.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Http.Extensions (2)
SendFileResponseExtensions.cs (2)
87if (string.IsNullOrEmpty(file.PhysicalPath)) 108await response.SendFileAsync(file.PhysicalPath, offset, count, cancellationToken);
Microsoft.AspNetCore.Http.Results.Tests (2)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (2)
447nonDiskFileInfo.SetupGet(fi => fi.PhysicalPath).Returns(() => null); // set null to indicate non-disk file 516fileInfo.SetupGet(fi => fi.PhysicalPath).Returns(path);
Microsoft.AspNetCore.Mvc.Core.Test (2)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (2)
447nonDiskFileInfo.SetupGet(fi => fi.PhysicalPath).Returns(() => null); // set null to indicate non-disk file 516fileInfo.SetupGet(fi => fi.PhysicalPath).Returns(path);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
FileProviderRazorProjectItem.cs (1)
64public override string PhysicalPath => FileInfo.PhysicalPath ?? string.Empty;
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (2)
122if (!string.IsNullOrEmpty(fileInfo.PhysicalPath)) 124lines = File.ReadLines(fileInfo.PhysicalPath);
Microsoft.AspNetCore.StaticAssets (4)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
135return _original.SendFileAsync(fileInfo.PhysicalPath!, 0, fileInfo.Length, cancellationToken);
StaticAssetsInvoker.cs (3)
82public string PhysicalPath => FileInfo.PhysicalPath ?? string.Empty; 232var logPath = !string.IsNullOrEmpty(FileInfo.PhysicalPath) ? FileInfo.PhysicalPath : Route;
Microsoft.AspNetCore.StaticFiles (3)
StaticFileContext.cs (3)
113public string PhysicalPath => _fileInfo.PhysicalPath ?? string.Empty; 387var logPath = !string.IsNullOrEmpty(_fileInfo.PhysicalPath) ? _fileInfo.PhysicalPath : SubPath;
Microsoft.Extensions.Configuration.FileExtensions (5)
FileConfigurationProvider.cs (5)
68if (!string.IsNullOrEmpty(file?.PhysicalPath)) 70error.Append(SR.Format(SR.Error_ExpectedPhysicalPath, file.PhysicalPath)); 79if (fileInfo.PhysicalPath != null) 85fileInfo.PhysicalPath, 107var exception = new InvalidDataException(SR.Format(SR.Error_FailedToLoad, file.PhysicalPath), ex);
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
110=> Source.FileProvider?.GetFileInfo("/")?.PhysicalPath ?? "<Unknown>";
Microsoft.Extensions.FileProviders.Embedded.Tests (15)
EmbeddedFileProviderTests.cs (4)
54Assert.Null(fileInfo.PhysicalPath); 120Assert.Null(fileInfo.PhysicalPath); 158Assert.Null(fileInfo.PhysicalPath); 196Assert.Null(fileInfo.PhysicalPath);
FileInfoComparer.cs (2)
29string.Equals(x.PhysicalPath, y.PhysicalPath, StringComparison.Ordinal);
ManifestEmbeddedFileProviderTests.cs (9)
32Assert.Null(jqueryValidate.PhysicalPath); 39Assert.Null(jqueryMin.PhysicalPath); 46Assert.Null(siteCss.PhysicalPath); 69Assert.Null(jqueryValidate.PhysicalPath); 76Assert.Null(jqueryMin.PhysicalPath); 83Assert.Null(siteCss.PhysicalPath); 168Assert.Null(jqueryValidate.PhysicalPath); 191Assert.Null(jqueryValidate.PhysicalPath); 442Assert.Null(jqueryValidate.PhysicalPath);