4 instantiations of NotFoundDirectoryContents
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Builder\TestFileProvider\TestFileProvider.cs (1)
36return new NotFoundDirectoryContents();
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
TestFileProvider.cs (1)
36return new NotFoundDirectoryContents();
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundDirectoryContents.cs (1)
18public static NotFoundDirectoryContents Singleton { get; } = new();
RazorBuildWebSite (1)
UpdateableFileProvider.cs (1)
38return new NotFoundDirectoryContents();
19 references to NotFoundDirectoryContents
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
71return NotFoundDirectoryContents.Singleton;
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
71return NotFoundDirectoryContents.Singleton;
Microsoft.AspNetCore.StaticAssets.Tests (1)
StaticAssetsIntegrationTests.cs (1)
1029return NotFoundDirectoryContents.Singleton;
Microsoft.Extensions.FileProviders.Abstractions (3)
NotFoundDirectoryContents.cs (2)
16/// Gets a shared instance of <see cref="NotFoundDirectoryContents"/>. 18public static NotFoundDirectoryContents Singleton { get; } = new();
NullFileProvider.cs (1)
18public IDirectoryContents GetDirectoryContents(string subpath) => NotFoundDirectoryContents.Singleton;
Microsoft.Extensions.FileProviders.Embedded (5)
EmbeddedFileProvider.cs (3)
134/// Contents of the directory. Caller must check Exists property. A <see cref="NotFoundDirectoryContents" /> if no 142return NotFoundDirectoryContents.Singleton; 148return NotFoundDirectoryContents.Singleton;
ManifestEmbeddedFileProvider.cs (2)
88return NotFoundDirectoryContents.Singleton; 93return NotFoundDirectoryContents.Singleton;
Microsoft.Extensions.FileProviders.Embedded.Tests (3)
ManifestEmbeddedFileProviderTests.cs (3)
331Assert.IsType<NotFoundDirectoryContents>(contents); 349Assert.IsType<NotFoundDirectoryContents>(contents); 374Assert.IsType<NotFoundDirectoryContents>(directory);
Microsoft.Extensions.FileProviders.Physical (5)
PhysicalFileProvider.cs (5)
303/// <para>Returns <see cref="NotFoundDirectoryContents" /> if <paramref name="subpath" /> is absolute, 312return NotFoundDirectoryContents.Singleton; 321return NotFoundDirectoryContents.Singleton; 327return NotFoundDirectoryContents.Singleton; 338return NotFoundDirectoryContents.Singleton;