public GotoInfoLibraryNode(Location location, string caption, Server server) : base(caption) { _location = location; _server = server; _caption = caption; CanGoToSource = true; Text = location.Range.Text; }
private void SolutionEvents_OnBeforeOpenSolution(object sender, BeforeOpenSolutionEventArgs e) { var stringManager = _stringManager; if (NitraCommonPackage.Configs.Count == 0) { } foreach (var config in NitraCommonPackage.Configs) { var server = new Server(stringManager, config, this); _servers.Add(server); } var solutionPath = e.SolutionFilename; var id = new SolutionId(stringManager.GetId(solutionPath)); _currentSolutionPath = solutionPath; _currentSolutionId = id; foreach (var server in _servers) server.SolutionStartLoading(id, solutionPath); Debug.WriteLine($"tr: BeforeOpenSolution(SolutionFilename='{solutionPath}' id={id})"); }