mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
21 lines
603 B
C#
21 lines
603 B
C#
|
|
using System.Collections.ObjectModel;
|
|||
|
|
using System.IO;
|
|||
|
|
|
|||
|
|
namespace Wox.Infrastructure.Storage
|
|||
|
|
{
|
|||
|
|
public interface IFileSystemWatcherWrapper
|
|||
|
|
{
|
|||
|
|
// Events to watch out for
|
|||
|
|
event FileSystemEventHandler Created;
|
|||
|
|
event FileSystemEventHandler Deleted;
|
|||
|
|
event RenamedEventHandler Renamed;
|
|||
|
|
|
|||
|
|
// Properties of File System watcher
|
|||
|
|
Collection<string> Filters { get; set; }
|
|||
|
|
bool EnableRaisingEvents { get; set; }
|
|||
|
|
NotifyFilters NotifyFilter { get; set; }
|
|||
|
|
string Path { get; set; }
|
|||
|
|
bool IncludeSubdirectories { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|