public T4FileDependencyInvalidator(
     Lifetime lifetime,
     [NotNull] IT4FileGraphNotifier notifier,
     [NotNull] IPsiServices services,
     [NotNull] IPsiCachesState state
     ) : base(lifetime, notifier, services, state)
 {
 }
示例#2
0
 public T4FileDependencyInvalidatorMock(
     Lifetime lifetime,
     [NotNull] IT4FileGraphNotifier notifier,
     [NotNull] IPsiServices services,
     [NotNull] IPsiCachesState state,
     [NotNull] IShellLocks locks
     ) : base(lifetime, notifier, services, state, locks)
 {
 }
 public T4OutputExtensionFrontendNotifier(
     Lifetime lifetime,
     [NotNull] IT4FileGraphNotifier notifier,
     [NotNull] DocumentManager documentManager,
     [NotNull] IT4FileDependencyGraph graph,
     [NotNull] IPsiServices services,
     [NotNull] IPsiCachesState state,
     [NotNull] IPsiFiles psiFiles
     ) : base(lifetime, notifier, services, state)
 {
     DocumentManager = documentManager;
     Graph           = graph;
     PsiFiles        = psiFiles;
 }
示例#4
0
 public T4PreprocessedTemplateFlagInvalidator(
     Lifetime lifetime,
     [NotNull] IT4FileGraphNotifier notifier,
     [NotNull] IPsiServices services,
     [NotNull] IPsiCachesState state,
     [NotNull] IT4RootTemplateKindProvider rootTemplateKindProvider,
     [NotNull] ChangeManager changeManager,
     [NotNull] ISolution solution
     ) : base(lifetime, notifier, services, state)
 {
     RootTemplateKindProvider = rootTemplateKindProvider;
     ChangeManager            = changeManager;
     Solution = solution;
 }
示例#5
0
 public T4RiderSyntaxHighlightingHost(
     Lifetime lifetime,
     [NotNull] ILogger logger,
     [NotNull] T4OutputExtensionFrontendNotifier notifier,
     [NotNull] ISolution solution,
     [NotNull] IPsiCachesState state,
     [NotNull] IPsiFiles files,
     [NotNull] RiderDocumentHost host
     )
 {
     Logger   = logger;
     Notifier = notifier;
     Solution = solution;
     State    = state;
     Files    = files;
     Host     = host;
     host.ViewHostDocuments(lifetime, CreateHandler);
 }
 protected T4IndirectFileChangeObserverBase(
     Lifetime lifetime,
     [NotNull] IT4FileGraphNotifier notifier,
     [NotNull] IPsiServices services,
     [NotNull] IPsiCachesState state
     )
 {
     Lifetime = lifetime;
     Services = services;
     services.Files.ObserveAfterCommit(lifetime, QueueAfterCommit);
     state.IsInitialUpdateFinished.Change.Advise(lifetime, args =>
     {
         if (!args.HasNew || !args.New)
         {
             return;
         }
         QueueAfterCommit();
     });
     notifier.OnFilesIndirectlyAffected.Advise(lifetime, data => OnFilesIndirectlyAffected(data, IndirectDependencies));
 }