IDirectoryContents Interface¶
Represents a directory’s content in the file provider.
- Namespace
Microsoft.Extensions.FileProviders
- Assemblies
- Microsoft.Extensions.FileProviders.Abstractions
Syntax¶
public interface IDirectoryContents : IEnumerable<IFileInfo>, IEnumerable
-
interface
Microsoft.Extensions.FileProviders.
IDirectoryContents
Properties¶
-
Microsoft.Extensions.FileProviders.IDirectoryContents.
Exists
¶ True if a directory was located at the given path.
Return type: System.Boolean bool Exists { get; }
-