예제 #1
0
 private void OnFileSystemChange(FileSystemChange change)
 {
     var handler = _handlerFactory.Create(change);
     handler.Handle(change.FileOrDirectoryPath);
 }
예제 #2
0
 public bool Equals(FileSystemChange other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other._source, _source) && Equals(other._change, _change) && Equals(other._fileOrDirectoryPath, _fileOrDirectoryPath);
 }