Пример #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public Subscription AddSubscription(Subscription sub)
 {
     AddChild(sub);
     return sub;
 }
Пример #2
0
 public Subscription[] GetSubscriptions()
 {
     ElementList nl = SelectElements(typeof(Subscription));
     Subscription[] items = new Subscription[nl.Count];
     int i = 0;
     foreach (Element e in nl)
     {
         items[i] = (Subscription) e;
         i++;
     }
     return items;
 }
Пример #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public Subscription AddSubscription()
 {
     Subscription sub = new Subscription();
     AddChild(sub);
     return sub;
 }