Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
708 B

  1. using System;
  2. namespace Microsoft.Fusion.ADF
  3. {
  4. // This interface describes classes that perform some operation
  5. // on files, usually by reading them and deriving some information
  6. // from them in a search through a directory tree.
  7. public interface IFileOperator
  8. {
  9. void ProcessDirectory(string startDir, string relPathDir);
  10. // A function that processes a file in a directory in some way. The
  11. // information it has available to it is the start of the directory
  12. // scan, the relative path from the start, and the filename. The abs
  13. // path can be constructed by concatenating the three args in order.
  14. void ProcessFile(string startDir, string relPathDir, string fileName);
  15. }
  16. }