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