Lire en anglais

Partager via


IDirectoryCache Interface

Definition

Allows the implementor to intercept file existence checks and file enumerations performed during project evaluation.

C#
public interface IDirectoryCache

Methods

DirectoryExists(String)

Returns true if the given path points to an existing directory on disk.

EnumerateDirectories<TResult>(String, String, FindPredicate, FindTransform<TResult>)

Enumerates subdirectories in the given directory only (non-recursively).

EnumerateFiles<TResult>(String, String, FindPredicate, FindTransform<TResult>)

Enumerates files in the given directory only (non-recursively).

FileExists(String)

Returns true if the given path points to an existing file on disk.

Applies to

Produit Versions
MSBuild 17
MSBuild (.NET Core) 17