예제 #1
0
        public TopicEntry AddTopic()
        {
            TopicEntry result = new TopicEntry();

            fTopics.Add(result);
            return(result);
        }
예제 #2
0
        public TopicEntry GetTopic(int index)
        {
            TopicEntry result = null;

            if (index >= 0 && index < fTopics.Count)
            {
                result = ((TopicEntry)fTopics[index]);
            }
            return(result);
        }
예제 #3
0
 public int IndexOf(TopicEntry topic)
 {
     return(fTopics.IndexOf(topic));
 }