/ src / modules / launcher / Wox.Infrastructure / Storage / IFileSystemWatcherWrapper.cs
IFileSystemWatcherWrapper.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Collections.ObjectModel;
 6  using System.IO;
 7  
 8  namespace Wox.Infrastructure.Storage
 9  {
10      public interface IFileSystemWatcherWrapper
11      {
12          // Events to watch out for
13          event FileSystemEventHandler Created;
14  
15          event FileSystemEventHandler Deleted;
16  
17          event FileSystemEventHandler Changed;
18  
19          event RenamedEventHandler Renamed;
20  
21          // Properties of File System watcher
22          Collection<string> Filters { get; set; }
23  
24          bool EnableRaisingEvents { get; set; }
25  
26          NotifyFilters NotifyFilter { get; set; }
27  
28          string Path { get; set; }
29  
30          bool IncludeSubdirectories { get; set; }
31      }
32  }