IDirectoryWatchers.cs 752 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. namespace MediaBrowser.Controller.IO
  3. {
  4. public interface IDirectoryWatchers : IDisposable
  5. {
  6. /// <summary>
  7. /// Add the path to our temporary ignore list. Use when writing to a path within our listening scope.
  8. /// </summary>
  9. /// <param name="path">The path.</param>
  10. void TemporarilyIgnore(string path);
  11. /// <summary>
  12. /// Removes the temp ignore.
  13. /// </summary>
  14. /// <param name="path">The path.</param>
  15. void RemoveTempIgnore(string path);
  16. /// <summary>
  17. /// Starts this instance.
  18. /// </summary>
  19. void Start();
  20. /// <summary>
  21. /// Stops this instance.
  22. /// </summary>
  23. void Stop();
  24. }
  25. }