internal WebDeployTargetCollection Clone() { WebDeployTargetCollection clone = new WebDeployTargetCollection(); foreach (WebDeployTarget target in this) { clone.Add((WebDeployTarget)target.Clone()); } return(clone); }
protected virtual void AddActivated(object sender, System.EventArgs e) { WebDeployTarget newTarget = new WebDeployTarget(); localCollection.Add(newTarget); TreeIter newIter = targetList.AppendValues(newTarget.GetMarkup(), newTarget); targetView.Selection.SelectIter(newIter); RunEditor(newTarget); UpdateTextForIter(newIter); }
internal WebDeployTargetCollection Clone () { WebDeployTargetCollection clone = new WebDeployTargetCollection (); foreach (WebDeployTarget target in this) clone.Add ((WebDeployTarget) target.Clone ()); return clone; }