public override void CopyFrom (ItemConfiguration other) { base.CopyFrom (other); NUnitAssemblyGroupProjectConfiguration conf = other as NUnitAssemblyGroupProjectConfiguration; if (conf != null) { assemblies.Clear (); foreach (TestAssembly ta in conf.Assemblies) { TestAssembly copy = new TestAssembly (ta.Path); assemblies.Add (copy); } } }
protected override void OnCopyFrom(ItemConfiguration configuration, bool isRename) { base.OnCopyFrom(configuration, isRename); NUnitAssemblyGroupProjectConfiguration conf = configuration as NUnitAssemblyGroupProjectConfiguration; if (conf != null) { assemblies.Clear(); foreach (TestAssembly ta in conf.Assemblies) { TestAssembly copy = new TestAssembly(ta.Path); assemblies.Add(copy); } } }