Esempio n. 1
0
 /// <summary>
 /// Gets the roster.
 /// </summary>
 /// <returns></returns>
 public RosterItem[] GetRoster()
 {
     ElementList nl = SelectElements(typeof(RosterItem));
     int i = 0;
     RosterItem[] result = new RosterItem[nl.Count];
     foreach (RosterItem ri in nl)
     {
         result[i] = (RosterItem) ri;
         i++;
     }
     return result;
 }
Esempio n. 2
0
 /// <summary>
 /// Adds a roster item.
 /// </summary>
 /// <param name="r">The r.</param>
 public void AddRosterItem(RosterItem r)
 {
     this.ChildNodes.Add(r);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds a roster item.
 /// </summary>
 /// <param name="r">The r.</param>
 public void AddRosterItem(RosterItem r)
 {
     this.ChildNodes.Add(r);
 }