Beispiel #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="affiliates"></param>
 public void AddAffiliates(Affiliate[] affiliates)
 {
     foreach (Affiliate affiliate in affiliates)
     {
         AddAffiliate(affiliate);
     }
 }
Beispiel #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public Affiliate[] GetAffiliates()
 {
     ElementList nl = SelectElements(typeof(Affiliate));
     Affiliate[] affiliates = new Affiliate[nl.Count];
     int i = 0;
     foreach (Element e in nl)
     {
         affiliates[i] = (Affiliate)e;
         i++;
     }
     return affiliates;
 }
Beispiel #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public Affiliate AddAffiliate()
 {
     Affiliate affiliate = new Affiliate();
     AddChild(affiliate);
     return affiliate;
 }
Beispiel #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="affiliate"></param>
 /// <returns></returns>
 public Affiliate AddAffiliate(Affiliate affiliate)
 {
     AddChild(affiliate);
     return affiliate;
 }
Beispiel #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="affiliate"></param>
 /// <returns></returns>
 public Affiliate AddAffiliate(Affiliate affiliate)
 {
     AddChild(affiliate);
     return(affiliate);
 }