public XunitTestElementsSource(XunitServiceProvider services, SearchDomainFactory searchDomainFactory, IShellLocks shellLocks)
        {
            this.services            = services;
            this.searchDomainFactory = searchDomainFactory;

            metadataElementsSource = new MetadataElementsSource(Logger.GetLogger(typeof(XunitTestElementsSource)), shellLocks);
        }
        public XunitTestElementsSource(XunitServiceProvider services, SearchDomainFactory searchDomainFactory, IShellLocks shellLocks)
        {
            this.services = services;
            this.searchDomainFactory = searchDomainFactory;

            metadataElementsSource = new MetadataElementsSource(Logger.GetLogger(typeof (XunitTestElementsSource)), shellLocks);
        }
Exemple #3
0
 public MspecPsiFileExplorer(SearchDomainFactory searchDomainFactory, UnitTestElementFactory factory, IUnitTestElementsObserver observer, Func <bool> interrupted)
 {
     _searchDomainFactory = searchDomainFactory;
     _factory             = factory;
     _observer            = observer;
     _interrupted         = interrupted;
 }
 public NancyDaemonStageProcess(SearchDomainFactory searchDomainFactory, [NotNull] IDaemonProcess daemonProcess,
     [CanBeNull] CollectUsagesStageProcess collectUsagesStageProcess, IContextBoundSettingsStore settingsStore)
 {
     DaemonProcess = daemonProcess;
     this.searchDomainFactory = searchDomainFactory;
     this.collectUsagesStageProcess = collectUsagesStageProcess;
     this.settingsStore = settingsStore;
 }
        public SolutionAnalyzer(PatternSearcher patternSearcher, ISolution solution, SearchDomainFactory searchDomainFactory)
        {
            this.patternSearcher     = patternSearcher;
            this.solution            = solution;
            this.searchDomainFactory = searchDomainFactory;

            LoadContainerInfos();
        }
 public NancyDaemonStageProcess(SearchDomainFactory searchDomainFactory, [NotNull] IDaemonProcess daemonProcess,
                                [CanBeNull] CollectUsagesStageProcess collectUsagesStageProcess, IContextBoundSettingsStore settingsStore)
 {
     DaemonProcess                  = daemonProcess;
     this.searchDomainFactory       = searchDomainFactory;
     this.collectUsagesStageProcess = collectUsagesStageProcess;
     this.settingsStore             = settingsStore;
 }
        public SolutionAnalyzer([NotNull] PatternSearcher patternSearcher, [NotNull] SearchDomainFactory searchDomainFactory, [NotNull] IWordIndex wordIndex)
        {
            this.patternSearcher     = patternSearcher;
            this.searchDomainFactory = searchDomainFactory;
            this.wordIndex           = wordIndex;

            LoadContainerInfos();
        }
 public DaemonStageProcess(IDaemonProcess process, SearchDomainFactory searchDomainFactory, ICSharpFile csFile)
 {
     this.searchDomainFactory = searchDomainFactory;
     this.csFile = csFile;
     DaemonProcess = process;
     usages = process.GetStageProcess<CollectUsagesStageProcess>();
     Assertion.Assert(usages != null, "usages != null");
 }
Exemple #9
0
 public DaemonStageProcess(IDaemonProcess process, SearchDomainFactory searchDomainFactory, ICSharpFile csFile)
 {
     this.searchDomainFactory = searchDomainFactory;
     this.csFile   = csFile;
     DaemonProcess = process;
     usages        = process.GetStageProcess <CollectUsagesStageProcess>();
     Assertion.Assert(usages != null, "usages != null");
 }
        public SolutionAnalyzer(PatternSearcher patternSearcher, SearchDomainFactory searchDomainFactory, IWordIndex wordIndex)
        {
            this.patternSearcher = patternSearcher;
            this.searchDomainFactory = searchDomainFactory;
            this.wordIndex = wordIndex;

            LoadContainerInfos();
        }
        public SolutionAnalyzer(PatternSearcher patternSearcher, ISolution solution, SearchDomainFactory searchDomainFactory)
        {
            this.patternSearcher = patternSearcher;
            this.solution = solution;
            this.searchDomainFactory = searchDomainFactory;

            LoadContainerInfos();
        }
Exemple #12
0
 public XunitTestFileExplorer(XunitTestProvider provider, UnitTestProviders providers,
                              UnitTestElementFactory unitTestElementFactory,
                              SearchDomainFactory searchDomainFactory)
 {
     this.provider = provider;
     this.unitTestElementFactory = unitTestElementFactory;
     this.searchDomainFactory    = searchDomainFactory;
     this.providers = providers;
 }
 public XunitTestFileExplorer(XunitTestProvider provider, UnitTestProviders providers, 
                              UnitTestElementFactory unitTestElementFactory, 
                              SearchDomainFactory searchDomainFactory)
 {
     this.provider = provider;
     this.unitTestElementFactory = unitTestElementFactory;
     this.searchDomainFactory = searchDomainFactory;
     this.providers = providers;
 }
 // TODO: The nunit code uses UnitTestAttributeCache
 public XunitPsiFileExplorer(UnitTestElementFactory unitTestElementFactory,
                             IUnitTestElementsObserver observer, IFile file,
                             Func <bool> interrupted, SearchDomainFactory searchDomainFactory)
 {
     this.observer = observer;
     this.unitTestElementFactory = unitTestElementFactory;
     this.file                = file;
     this.interrupted         = interrupted;
     this.searchDomainFactory = searchDomainFactory;
     projectFile              = file.GetSourceFile().ToProjectFile();
     project      = file.GetProject();
     assemblyPath = project.GetOutputFilePath().FullPath;
 }
 public MspecTestElementsSource(
     MspecTestProvider provider,
     SearchDomainFactory searchDomainFactory,
     ISolution solution,
     AssemblyToAssemblyReferencesResolveManager resolveManager,
     ResolveContextManager contextManager,
     MspecServiceProvider serviceProvider,
     ILogger logger)
     : base(solution, provider, resolveManager, contextManager, logger)
 {
     _searchDomainFactory = searchDomainFactory;
     _serviceProvider     = serviceProvider;
     _logger = logger;
 }
        public XunitFileExplorer([NotNull] XunitElementFactory factory, [NotNull] ITreeNode file, [NotNull] SearchDomainFactory searchDomainFactory, UnitTestElementLocationConsumer consumer, CheckForInterrupt interrupted)
        {
            if (factory == null) 
                throw new ArgumentNullException("factory");
            if (searchDomainFactory == null) 
                throw new ArgumentNullException("searchDomainFactory");
            if (file == null)
                throw new ArgumentNullException("file");

            this.factory = factory;
            this.searchDomainFactory = searchDomainFactory;
            this.consumer = consumer;
            this.interrupted = interrupted;

            projectFile = file.GetSourceFile().ToProjectFile();
            if (projectFile != null) project = projectFile.GetProject();
            envoy = ProjectModelElementEnvoy.Create(project);
        }
        // TODO: The nunit code uses UnitTestAttributeCache
        public XunitPsiFileExplorer(XunitTestProvider provider, UnitTestElementFactory unitTestElementFactory,
                                    UnitTestElementLocationConsumer consumer, IFile file, 
                                    Func<bool> interrupted, SearchDomainFactory searchDomainFactory)
        {
            if (file == null)
                throw new ArgumentNullException("file");

            if (provider == null)
                throw new ArgumentNullException("provider");

            this.consumer = consumer;
            this.unitTestElementFactory = unitTestElementFactory;
            this.file = file;
            this.interrupted = interrupted;
            this.searchDomainFactory = searchDomainFactory;
            projectFile = file.GetSourceFile().ToProjectFile();
            project = file.GetProject();
            assemblyPath = project.GetOutputFilePath().FullPath;
        }
 public UnityEditorFindUsageResultCreator(Lifetime lifetime, ISolution solution,
                                          SearchDomainFactory searchDomainFactory, IShellLocks locks,
                                          AssetHierarchyProcessor assetHierarchyProcessor,
                                          BackendUnityHost backendUnityHost,
                                          FrontendBackendHost frontendBackendHost,
                                          UnityExternalFilesModuleFactory externalFilesModuleFactory,
                                          IPersistentIndexManager persistentIndexManager,
                                          [CanBeNull] RiderBackgroundTaskHost backgroundTaskHost = null)
 {
     myLifetime = lifetime;
     mySolution = solution;
     myLocks    = locks;
     myAssetHierarchyProcessor = assetHierarchyProcessor;
     myBackendUnityHost        = backendUnityHost;
     myBackgroundTaskHost      = backgroundTaskHost;
     myYamlSearchDomain        = searchDomainFactory.CreateSearchDomain(externalFilesModuleFactory.PsiModule);
     myFrontendBackendHost     = frontendBackendHost;
     myPersistentIndexManager  = persistentIndexManager;
     mySolutionDirectoryPath   = solution.SolutionDirectory;
 }
Exemple #19
0
 public NitraSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
 public MakeMethodGenericWorkflow(ISolution solution, string actionId)
     : base(solution, actionId)
 {
     mySearchDomainFactory = solution.GetComponent <SearchDomainFactory>();
 }
Exemple #21
0
 public DaemonStage(SearchDomainFactory searchDomainFactory)
 {
     this.searchDomainFactory = searchDomainFactory;
 }
Exemple #22
0
 public MakeMethodGenericWorkflow(ISolution solution, string actionId, SearchDomainFactory searchDomainFactory)
     : base(solution, actionId)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
 public LexReferenceSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
 public MakeMethodGenericWorkflow(ISolution solution, string actionId, SearchDomainFactory searchDomainFactory)
   : base(solution, actionId)
 {
   mySearchDomainFactory = searchDomainFactory;
 }
 public NancyDaemonStage(SearchDomainFactory searchDomainFactory)
 {
     this.searchDomainFactory = searchDomainFactory;
 }
 public PascalSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     _searchDomainFactory = searchDomainFactory;
 }
 public JsonNewUsageSearchFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
Exemple #28
0
 public UnityEditorFindUsageResultCreator(Lifetime lifetime, ISolution solution, SearchDomainFactory searchDomainFactory, IShellLocks locks,
                                          UnitySceneDataLocalCache sceneDataCache, UnityHost unityHost, UnityExternalFilesModuleFactory externalFilesModuleFactory,
                                          UnityEditorProtocol editorProtocol,
                                          [CanBeNull] RiderBackgroundTaskHost backgroundTaskHost = null)
 {
     myLifetime = lifetime;
     mySolution = solution;
     myLocks    = locks;
     myUnitySceneDataLocalCache = sceneDataCache;
     myBackgroundTaskHost       = backgroundTaskHost;
     myYamlSearchDomain         = searchDomainFactory.CreateSearchDomain(externalFilesModuleFactory.PsiModule);
     myUnityHost             = unityHost;
     myEditorProtocol        = editorProtocol;
     mySolutionDirectoryPath = solution.SolutionDirectory;
 }
Exemple #29
0
 public PatternSearcher(SearchDomainFactory searchDomainFactory)
 {
     this.searchDomainFactory = searchDomainFactory;
 }
 public PatternSearcher(SearchDomainFactory searchDomainFactory)
 {
     this.searchDomainFactory = searchDomainFactory;
 }
 public ReflectedMemberSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     _searchDomainFactory = searchDomainFactory;
 }
 public PsiSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
   mySearchDomainFactory = searchDomainFactory;
 }
        public override ISearchDomain GetSearchDomain(SearchDomainFactory factory)
        {
            var solution = SourceFile.GetSolution();

            return(factory.CreateSearchDomain(solution, false));
        }
 public XUnitTestFileExplorer(XunitTestProvider provider, XunitElementFactory factory, SearchDomainFactory searchDomainFactory)
 {
     this.provider = provider;
     this.factory = factory;
     this.searchDomainFactory = searchDomainFactory;
 }
 public UnityYamlUsageSearchFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
Exemple #36
0
 public ShaderLabUsageSearchFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
Exemple #37
0
 public NitraSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
Exemple #38
0
 public abstract ISearchDomain GetSearchDomain(SearchDomainFactory factory);
 public IRefactoringWorkflow CreateWorkflow(ISolution solution, string actionId, SearchDomainFactory factory)
 {
   return new MakeMethodGenericWorkflow(solution, actionId, factory);
 }
Exemple #40
0
 public IRefactoringWorkflow CreateWorkflow(ISolution solution, string actionId, SearchDomainFactory factory)
 {
     return(new MakeMethodGenericWorkflow(solution, actionId, factory));
 }
 public PsiSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
 }
 public NTriplesSearcherFactory(SearchDomainFactory searchDomainFactory)
 {
     this.mySearchDomainFactory = searchDomainFactory;
 }
Exemple #43
0
 public FSharpSearcherFactory(SearchDomainFactory searchDomainFactory,
                              CLRDeclaredElementSearcherFactory clrSearchFactory)
 {
     mySearchDomainFactory = searchDomainFactory;
     myClrSearchFactory    = clrSearchFactory;
 }
Exemple #44
0
 public MakeMethodGenericRefactoring(MakeMethodGenericWorkflow workFlow, ISolution solution,
                                     IRefactoringDriver driver,
                                     SearchDomainFactory searchDomainFactory) : base(workFlow, solution, driver)
 {
     mySearchDomainFactory = searchDomainFactory;
 }