예제 #1
0
            public ShaderLabErrorStageProcess(IDaemonProcess process, DaemonProcessKind processKind, ElementProblemAnalyzerRegistrar elementProblemAnalyzerRegistrar, IContextBoundSettingsStore settings, IShaderLabFile file)
                : base(process, settings, file)
            {
                var elementProblemAnalyzerData = new ElementProblemAnalyzerData(process, processKind, settings);

                myElementAnalyzerDispatcher = elementProblemAnalyzerRegistrar.CreateDispatcher(elementProblemAnalyzerData);
            }
예제 #2
0
            public YamlErrorStageProcess(IDaemonProcess process, DaemonProcessKind processKind, ElementProblemAnalyzerRegistrar elementProblemAnalyzerRegistrar, IContextBoundSettingsStore settings, IYamlFile file)
                : base(process, file)
            {
                var elementProblemAnalyzerData = new ElementProblemAnalyzerData(file, settings, ElementProblemAnalyzerRunKind.FullDaemon);

                elementProblemAnalyzerData.SetDaemonProcess(process, processKind);
                myElementAnalyzerDispatcher = elementProblemAnalyzerRegistrar.CreateDispatcher(elementProblemAnalyzerData);
            }
예제 #3
0
        public JsonNewInspectionsProcess(IDaemonProcess process, IContextBoundSettingsStore settingsStore, IJsonNewFile file, DaemonProcessKind processKind, ElementProblemAnalyzerRegistrar elementProblemAnalyzerRegistrar)
            : base(process, settingsStore, file)
        {
            var problemAnalyzerData = new ElementProblemAnalyzerData(
                file, settingsStore, ElementProblemAnalyzerRunKind.FullDaemon, process.GetCheckForInterrupt());

            problemAnalyzerData.SetDaemonProcess(process, processKind);
            problemAnalyzerData.SetFile(File);

            myElementAnalyzerDispatcher = elementProblemAnalyzerRegistrar.CreateDispatcher(problemAnalyzerData);
        }