private void CreateSolutionDiagrams(ModelEntityRepository repo, IEnumerable <ElementInstantiation> instantiations) { PackageInstance.Do(solutionPackage => { Diagrams.ForEach(problemDiagram => { var solutionDiagram = repo.Create(problemDiagram.Name, DiagramTypes.SolutionOverview, solutionPackage, ADTechnology.Technologies.AD.ID); CopyDiagramObjects(problemDiagram, solutionDiagram, instantiations); }); }); Children.ForEach(c => c.CreateSolutionDiagrams(repo, instantiations)); }
public void RenameDiagram() { Diagrams.ForEach(d => d.NameEditMode = false); SelectedDiagram.NameEditMode = true; }
public void OnDeserialized(StreamingContext context) { Diagrams.ForEach(TriggerProjectChangeWhenDiagramChanges); }