Partilhar via


IDirectoryCache Interface

Definition

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

public interface class IDirectoryCache
public interface IDirectoryCache
type IDirectoryCache = interface
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