27 implementations of IsDirectory
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Builder\TestFileProvider\TestDirectoryContent.cs (1)
28public bool IsDirectory => true;
Builder\TestFileProvider\TestFileInfo.cs (1)
12public bool IsDirectory => false;
Builder\TestFileProvider\TestFileProvider.cs (1)
134public bool IsDirectory
Microsoft.AspNetCore.Components.WebView (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
270public bool IsDirectory => true; 294public bool IsDirectory => _source.IsDirectory;
Microsoft.AspNetCore.Components.WebView.Maui (1)
iOS\iOSMauiAssetFileProvider.cs (1)
52 public bool IsDirectory => false;
Microsoft.AspNetCore.Components.WebView.Test (1)
StaticContentProviderTests.cs (1)
123public bool IsDirectory => false;
Microsoft.AspNetCore.Diagnostics.Tests (1)
ExceptionDetailsProviderTest.cs (1)
329public bool IsDirectory
Microsoft.AspNetCore.Hosting (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
270public bool IsDirectory => true; 294public bool IsDirectory => _source.IsDirectory;
Microsoft.AspNetCore.Hosting.Tests (1)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (1)
787public bool IsDirectory { get; set; }
Microsoft.AspNetCore.Mvc.Views.TestCommon (4)
TestDirectoryContent.cs (1)
28public bool IsDirectory => true;
TestDirectoryFileInfo.cs (1)
8public bool IsDirectory => true;
TestFileInfo.cs (1)
12public bool IsDirectory => false;
TestFileProvider.cs (1)
134public bool IsDirectory
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
CertificatePathWatcherTests.cs (1)
571bool IFileInfo.IsDirectory => throw new NotSupportedException();
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileContextTest.cs (2)
187public bool IsDirectory 241public bool IsDirectory
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
KeyPerFileTests.cs (1)
510public bool IsDirectory
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundFileInfo.cs (1)
32public bool IsDirectory => false;
Microsoft.Extensions.FileProviders.Embedded (3)
EmbeddedResourceFileInfo.cs (1)
78public bool IsDirectory => false;
Manifest\ManifestDirectoryInfo.cs (1)
40public bool IsDirectory => true;
Manifest\ManifestFileInfo.cs (1)
39public bool IsDirectory => false;
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
TestFileInfo.cs (1)
30public bool IsDirectory => _isDirectory;
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalDirectoryInfo.cs (1)
59public bool IsDirectory => true;
PhysicalFileInfo.cs (1)
43public bool IsDirectory => false;
RazorBuildWebSite (1)
UpdateableFileProvider.cs (1)
92public bool IsDirectory => false;
36 references to IsDirectory
Microsoft.AspNetCore.Components.WebView (3)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (3)
100if (result.Exists && (result.IsDirectory || matcher.Match(fileCandidate).HasMatches)) 219if (!result.IsDirectory) 294public bool IsDirectory => _source.IsDirectory;
Microsoft.AspNetCore.Hosting (3)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (3)
100if (result.Exists && (result.IsDirectory || matcher.Match(fileCandidate).HasMatches)) 219if (!result.IsDirectory) 294public bool IsDirectory => _source.IsDirectory;
Microsoft.AspNetCore.Hosting.Tests (8)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (8)
305Assert.False(file.IsDirectory); 322Assert.False(file.IsDirectory); 341Assert.False(file.IsDirectory); 423Assert.False(file.IsDirectory); 439Assert.Equal(new[] { (true, "_content") }, contents.Select(e => (e.IsDirectory, e.Name)).OrderBy(e => e.Name).ToArray()); 472contents.Select(e => (e.IsDirectory, e.Name)).OrderBy(e => e.Name).ToArray()); 490contents.Select(e => (e.IsDirectory, e.Name)).OrderBy(e => e.Name).ToArray()); 606contents.Select(e => (e.IsDirectory, e.Name)).OrderBy(e => e.Name).ToArray());
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
FileProviderRazorProjectFileSystem.cs (1)
52if (fileInfo.IsDirectory)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
FileProviderGlobbingDirectory.cs (1)
86if (fileInfo.IsDirectory)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
GlobbingUrlBuilderTest.cs (1)
452fileInfo.Setup(f => f.IsDirectory).Returns(isDirectory);
Microsoft.AspNetCore.Rewrite (1)
UrlMatches\IsDirectoryMatch.cs (1)
15var res = context.StaticFileProvider.GetFileInfo(pattern).IsDirectory;
Microsoft.AspNetCore.StaticFiles (2)
HtmlDirectoryFormatter.cs (2)
129foreach (var subdir in contents.Where(info => info.IsDirectory)) 165foreach (var file in contents.Where(info => !info.IsDirectory))
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
89if (file.IsDirectory)
Microsoft.Extensions.FileProviders.Embedded.Tests (15)
EmbeddedFileProviderTests.cs (4)
53Assert.False(fileInfo.IsDirectory); 119Assert.False(fileInfo.IsDirectory); 157Assert.False(fileInfo.IsDirectory); 195Assert.False(fileInfo.IsDirectory);
FileInfoComparer.cs (2)
26x.IsDirectory == y.IsDirectory &&
ManifestEmbeddedFileProviderTests.cs (9)
30Assert.False(jqueryValidate.IsDirectory); 37Assert.False(jqueryMin.IsDirectory); 44Assert.False(siteCss.IsDirectory); 67Assert.False(jqueryValidate.IsDirectory); 74Assert.False(jqueryMin.IsDirectory); 81Assert.False(siteCss.IsDirectory); 166Assert.False(jqueryValidate.IsDirectory); 189Assert.False(jqueryValidate.IsDirectory); 440Assert.False(jqueryValidate.IsDirectory);