Condividi tramite


IDirectoryCacheFactory Interface

Definition

A provider of IDirectoryCache instances. To be implemented by MSBuild hosts that wish to intercept file existence checks and file enumerations performed during project evaluation.

public interface class IDirectoryCacheFactory
public interface IDirectoryCacheFactory
type IDirectoryCacheFactory = interface
Public Interface IDirectoryCacheFactory

Remarks

Unlike MSBuildFileSystemBase, file enumeration returns file/directory names, not full paths. The host uses DirectoryCacheFactory to specify the directory cache factory per project.

Methods

GetDirectoryCacheForEvaluation(Int32)

Returns an IDirectoryCache to be used when evaluating the project associated with this IDirectoryCacheFactory.

Applies to