private void AppendCommand(ITemplateCommand cmd) { if (this.Parent == null) { _items.Add(cmd); } else { ((TemplateMetaObject)this.Parent).AppendCommand(cmd); } }
private void AddCommand(ITemplateCommand cmd) { _commands.Add(cmd); }
private void AppendCommand(ITemplateCommand cmd) { if (this.Parent == null) _items.Add(cmd); else ((TemplateMetaObject) this.Parent).AppendCommand(cmd); }