Permalink
Browse files

Merge pull request #62 from KallDrexx/VirtualEventsForFileSystemWatch…

…erBase

Updated all FileSystemWatcher events to be virtual, to make them possibl...
  • Loading branch information...
2 parents f8c7cb4 + 3183979 commit 4257b55182908cb1081c9b7bd0e1ebf0b0fa0f26 @tathamoddie committed Mar 2, 2014
Showing with 5 additions and 5 deletions.
  1. +5 −5 System.IO.Abstractions/FileSystemWatcherBase.cs
@@ -16,11 +16,11 @@ public abstract class FileSystemWatcherBase : IDisposable
public abstract string Path { get; set; }
public abstract ISite Site { get; set; }
public abstract ISynchronizeInvoke SynchronizingObject { get; set; }
- public event FileSystemEventHandler Changed;
- public event FileSystemEventHandler Created;
- public event FileSystemEventHandler Deleted;
- public event ErrorEventHandler Error;
- public event RenamedEventHandler Renamed;
+ 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 abstract void Dispose();
public abstract void EndInit();

0 comments on commit 4257b55

Please sign in to comment.