IFileProvider Interface

Definition

A read-only file provider abstraction.

C#
public interface IFileProvider
Derived

Methods

GetDirectoryContents(String)

Enumerates a directory at the given path, if any.

GetFileInfo(String)

Locates a file at the given path.

Watch(String)

Creates an IChangeToken for the specified filter.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)