public OmnisharpOnDidChangeWatchedFilesHandler(IFileSystemNotifier fileSystemNotifier) : base( new DidChangeWatchedFilesRegistrationOptions() { Watchers = new Container <FileSystemWatcher>( new FileSystemWatcher() { Kind = WatchKind.Create | WatchKind.Change | WatchKind.Delete, GlobPattern = "**/*.*" } ) }) { _fileSystemNotifier = fileSystemNotifier; }
public OmnisharpOnDidChangeWatchedFilesHandler(IFileSystemNotifier fileSystemNotifier) { _fileSystemNotifier = fileSystemNotifier; }
public OnFilesChangedService(IFileSystemNotifier notifier) { _notifier = notifier ?? throw new ArgumentNullException(nameof(notifier)); }