Esempio n. 1
0
        void OnShowOutput()
        {
            TaskRunnerErrorNode errorNode = GetSelectedErrorNode();

            if (errorNode != null)
            {
                ShowTaskRunnerExplorerLog();
            }
        }
Esempio n. 2
0
        ITaskRunnerNode CreateErrorTaskRunnerNode(Exception ex)
        {
            var root = new TaskRunnerErrorNode("Gulp Task Runner");

            string message   = GettextCatalog.GetString("Failed to load. See Task Runner Explorer Output for more details.");
            var    tasksNode = new TaskRunnerErrorNode(message);

            root.Children.Add(tasksNode);

            return(root);
        }
Esempio n. 3
0
        TaskRunnerConfig CreateErrorTaskRunnerConfig(Exception ex)
        {
            var root = new TaskRunnerErrorNode("My Config");

            string message = GettextCatalog.GetString("Failed to load. Please open the Task Runner Explorer Output for more information.");

            root.Children.Add(new TaskRunnerErrorNode(message)
            {
                Description = "Failed to load."
            });

            return(new TaskRunnerConfig(root));
        }