次の方法で共有


Microsoft.Build.FileSystem Namespace

Classes

MSBuildFileSystemBase

Abstracts away some file system operations.

Implementations:

  • must be thread safe
  • may cache some or all the calls.

Interfaces

IDirectoryCache

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

IDirectoryCacheFactory

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.

Delegates

FindPredicate

A predicate taking file name.

FindTransform<TResult>

A function taking file name and returning an arbitrary result.