1 instantiation of NotFoundDirectoryContents
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundDirectoryContents.cs (1)
23public static NotFoundDirectoryContents Singleton { get; } = new();
15 references to NotFoundDirectoryContents
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
71return NotFoundDirectoryContents.Singleton;
Microsoft.Extensions.FileProviders.Abstractions (4)
NotFoundDirectoryContents.cs (3)
16/// Initializes a new instance of the <see cref="NotFoundDirectoryContents"/> class. 21/// Gets a shared instance of <see cref="NotFoundDirectoryContents"/>. 23public static NotFoundDirectoryContents Singleton { get; } = new();
NullFileProvider.cs (1)
23public 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.Physical (5)
PhysicalFileProvider.cs (5)
297/// <para>Returns <see cref="NotFoundDirectoryContents" /> if <paramref name="subpath" /> is absolute, 306return NotFoundDirectoryContents.Singleton; 315return NotFoundDirectoryContents.Singleton; 321return NotFoundDirectoryContents.Singleton; 332return NotFoundDirectoryContents.Singleton;