/// <summary> /// Add a conference bookmark to the storage object /// </summary> /// <param name="conf"> </param> /// <returns> </returns> public Conference AddConference(Conference conf) { AddChild(conf); return conf; }
/// <summary> /// add multiple conference bookmarks /// </summary> /// <param name="confs"> </param> public void AddConferences(Conference[] confs) { foreach (Conference conf in confs) { AddConference(conf); } }
/// <summary> /// get all conference booksmarks /// </summary> /// <returns> </returns> public Conference[] GetConferences() { ElementList nl = SelectElements(typeof (Conference)); var items = new Conference[nl.Count]; int i = 0; foreach (Element e in nl) { items[i] = (Conference) e; i++; } return items; }
/// <summary> /// Add a conference bookmark to the storage object /// </summary> /// <param name="conf"> </param> /// <returns> </returns> public Conference AddConference(Conference conf) { AddChild(conf); return(conf); }