/
IFileSystemWatcher.cs
46 lines (45 loc) · 2.16 KB
/
IFileSystemWatcher.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System.ComponentModel;
namespace System.IO.Abstractions
{
public interface IFileSystemWatcher : IDisposable
{
/// <inheritdoc cref="FileSystemWatcher.IncludeSubdirectories"/>
bool IncludeSubdirectories { get; set; }
/// <inheritdoc cref="FileSystemWatcher.EnableRaisingEvents"/>
bool EnableRaisingEvents { get; set; }
/// <inheritdoc cref="FileSystemWatcher.Filter"/>
string Filter { get; set; }
#if FEATURE_FILE_SYSTEM_WATCHER_FILTERS
/// <inheritdoc cref="FileSystemWatcher.Filters"/>
System.Collections.ObjectModel.Collection<string> Filters { get; }
#endif
/// <inheritdoc cref="FileSystemWatcher.InternalBufferSize"/>
int InternalBufferSize { get; set; }
/// <inheritdoc cref="FileSystemWatcher.NotifyFilter"/>
NotifyFilters NotifyFilter { get; set; }
/// <inheritdoc cref="FileSystemWatcher.Path"/>
string Path { get; set; }
/// <inheritdoc cref="FileSystemWatcher.Site"/>
ISite Site { get; set; }
/// <inheritdoc cref="FileSystemWatcher.SynchronizingObject"/>
ISynchronizeInvoke SynchronizingObject { get; set; }
/// <inheritdoc cref="FileSystemWatcher.Changed"/>
event FileSystemEventHandler Changed;
/// <inheritdoc cref="FileSystemWatcher.Created"/>
event FileSystemEventHandler Created;
/// <inheritdoc cref="FileSystemWatcher.Deleted"/>
event FileSystemEventHandler Deleted;
/// <inheritdoc cref="FileSystemWatcher.Error"/>
event ErrorEventHandler Error;
/// <inheritdoc cref="FileSystemWatcher.Renamed"/>
event RenamedEventHandler Renamed;
/// <inheritdoc cref="FileSystemWatcher.BeginInit"/>
void BeginInit();
/// <inheritdoc cref="FileSystemWatcher.EndInit"/>
void EndInit();
/// <inheritdoc cref="FileSystemWatcher.WaitForChanged(WatcherChangeTypes)"/>
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType);
/// <inheritdoc cref="FileSystemWatcher.WaitForChanged(WatcherChangeTypes,int)"/>
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout);
}
}