protected void DoAdd() { Wrappers.Edge link = d_wrapped as Wrappers.Edge; if (link != null) { link.Attach(d_from, d_to); } foreach (Wrappers.Wrapper templ in d_templates) { d_wrapped.ApplyTemplate(templ); } d_parent.Add(d_wrapped); }
protected void Apply() { d_obj.ApplyTemplate(d_template); }