Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public OmnisharpOnDidChangeWatchedFilesHandler(IFileSystemNotifier fileSystemNotifier)
 {
     _fileSystemNotifier = fileSystemNotifier;
 }
Ejemplo n.º 3
0
 public OnFilesChangedService(IFileSystemNotifier notifier)
 {
     _notifier = notifier ?? throw new ArgumentNullException(nameof(notifier));
 }