private void OnFileSystemChange(FileSystemChange change) { var handler = _handlerFactory.Create(change); handler.Handle(change.FileOrDirectoryPath); }
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); }