protected void AddView(View view, XProject xProject) { Progress?.Report($"Adding view: {view.Name}"); XView xView = XView.Create(view); xProject.Add(xView); foreach (Page page in view.Pages) { AddPage(page, xView); } }