System.IO.Abstractions.FileSystemWatcherBase
namespace System.IO.Abstractions
{
public abstract class FileSystemWatcherBase : IDisposable
{
public abstract IFileSystem FileSystem { get; }
public abstract bool IncludeSubdirectories { get; set; }
public abstract IContainer Container { get; }
public abstract bool EnableRaisingEvents { get; set; }
public abstract string Filter { get; set; }
public abstract Collection<string> Filters { get; }
public abstract int InternalBufferSize { get; set; }
public abstract NotifyFilters NotifyFilter { get; set; }
public abstract string Path { get; set; }
public abstract ISite Site { get; set; }
public abstract ISynchronizeInvoke SynchronizingObject { get; set; }
public virtual event FileSystemEventHandler Changed;
public virtual event FileSystemEventHandler Created;
public virtual event FileSystemEventHandler Deleted;
public virtual event ErrorEventHandler Error;
public virtual event RenamedEventHandler Renamed;
public abstract void BeginInit();
public void Dispose();
public abstract void EndInit();
public abstract IWaitForChangedResult WaitForChanged(WatcherChangeTypes changeType);
public abstract IWaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout);
public abstract IWaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, TimeSpan timeout);
public static implicit operator FileSystemWatcherBase(FileSystemWatcher watcher);
public virtual void Dispose(bool disposing);
protected void OnCreated(object sender, FileSystemEventArgs args);
protected void OnChanged(object sender, FileSystemEventArgs args);
protected void OnDeleted(object sender, FileSystemEventArgs args);
protected void OnRenamed(object sender, RenamedEventArgs args);
protected void OnError(object sender, ErrorEventArgs args);
protected FileSystemWatcherBase();
}
}