Exemplo n.º 1
0
 //note, this is fluent for chaining calls, return this
 public DocumentTemplateElement AddElement(DocumentTemplateElement aElement)
 {
     aElement.ParentElement = this;
     AddElementToChildCollection(aElement);
     return(this);
 }
Exemplo n.º 2
0
 protected override void AddElementToChildCollection(DocumentTemplateElement aElement)
 {
     aElement.Template = this;
     base.AddElementToChildCollection(aElement);
 }
Exemplo n.º 3
0
 protected virtual void AddElementToChildCollection(DocumentTemplateElement aElement)
 {
     this.ChildElements.Add(aElement);
 }