/// <summary> /// Add an observer to the conversation server /// </summary> /// <param name="listener"></param> public void AddListener(IConversationListener listener) { if (!this.listenerList.Contains(listener)) { listenerList.Add(listener); } }
/// <summary> /// Remove an observer from the conversation server /// </summary> /// <param name="listener"></param> public void RemoveListener(IConversationListener listener) { listenerList.Remove(listener); }
/// <summary> /// /// </summary> /// <param name="o"></param> public void Remove(IConversationListener o) { this.arrayList.Remove(o); }
/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public int IndexOf(IConversationListener o) { return(this.arrayList.IndexOf(o)); }
/// <summary> /// /// </summary> /// <param name="index"></param> /// <param name="o"></param> public void Insert(int index, IConversationListener o) { this.arrayList.Insert(index, o); }
/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public int Add(IConversationListener o) { return(this.arrayList.Add(o)); }
/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public bool Contains(IConversationListener o) { return(this.arrayList.Contains(o)); }
/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public int IndexOf(IConversationListener o) { return this.arrayList.IndexOf(o); }
/// <summary> /// Add an observer to the conversation server /// </summary> /// <param name="listener"></param> public void AddListener(IConversationListener listener) { if (!this.listenerList.Contains(listener)) listenerList.Add(listener); }
/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public bool Contains(IConversationListener o) { return this.arrayList.Contains(o); }
/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public int Add(IConversationListener o) { return this.arrayList.Add(o); }