コード例 #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;
 }
コード例 #2
0
 public OmnisharpOnDidChangeWatchedFilesHandler(IFileSystemNotifier fileSystemNotifier)
 {
     _fileSystemNotifier = fileSystemNotifier;
 }
コード例 #3
0
 public OnFilesChangedService(IFileSystemNotifier notifier)
 {
     _notifier = notifier ?? throw new ArgumentNullException(nameof(notifier));
 }