System.IO.Abstractions.IFileSystemWatcher
namespace System.IO.Abstractions
{
public interface IFileSystemWatcher : IFileSystemEntity, IDisposable
{
IContainer Container { get; }
bool EnableRaisingEvents { get; set; }
string Filter { get; set; }
Collection<string> Filters { get; }
bool IncludeSubdirectories { get; set; }
int InternalBufferSize { get; set; }
NotifyFilters NotifyFilter { get; set; }
string Path { get; set; }
ISite Site { get; set; }
ISynchronizeInvoke SynchronizingObject { get; set; }
event FileSystemEventHandler Changed;
event FileSystemEventHandler Created;
event FileSystemEventHandler Deleted;
event ErrorEventHandler Error;
event RenamedEventHandler Renamed;
void BeginInit();
void EndInit();
IWaitForChangedResult WaitForChanged(WatcherChangeTypes changeType);
IWaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout);
IWaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, TimeSpan timeout);
}
}