IDirectoryCacheFactory Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |