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