public void Update(IReadOnlyList <DomAssemblyName> references) { assemblyNames.Clear(); if (references != null) { assemblyNames.AddRange(references.Select(r => new AssemblyReferenceModel(parentAssemblyModel, r))); } }
public SolutionAssemblyList(ISolution solution) { this.solution = solution; if (solution != null) { Name = solution.Name; Assemblies = new NullSafeSimpleModelCollection <IAssemblyModel>(); Assemblies.AddRange(solution.Projects.Select(p => p.AssemblyModel)); } }