예제 #1
0
 /// <summary>
 /// Build a BanListEventArgs
 /// </summary>
 /// <param name="channel">Channel destination.</param>
 /// <param name="item">BanListItem to add.</param>
 public BanListEventArgs(string channel, BanListItem item)
 {
     this.m_channel = channel;
     this.m_item    = item;
 }
예제 #2
0
파일: BanList.cs 프로젝트: foxjazz/IRCAL
		/// <summary>
		/// Remove a BanListItem from the Collection
		/// </summary>
		/// <param name="value">BanListItem to remove</param>
		public void Remove(BanListItem value)
		{
			this.List.Remove(value as object);
		}
예제 #3
0
파일: BanList.cs 프로젝트: foxjazz/IRCAL
		/// <summary>
		/// Determine if the BanListItem is in the Collection
		/// </summary>
		/// <param name="value">Enemy class</param>
		/// <returns>true or false</returns>
		public bool Contains(BanListItem value)
		{
			return this.List.Contains(value as object);
		}
예제 #4
0
파일: BanList.cs 프로젝트: foxjazz/IRCAL
		/// <summary>
		/// Add a new BanListItem to the Collection
		/// </summary>
		/// <param name="value">BanListItem class</param>
		public void Add(BanListItem value)
		{
			this.List.Add(value as object);
		}
예제 #5
0
		/// <summary>
		/// Build a BanListEventArgs
		/// </summary>
		/// <param name="channel">Channel destination.</param>
		/// <param name="item">BanListItem to add.</param>
		public BanListEventArgs(string channel, BanListItem item)
		{
			this.m_channel = channel;
			this.m_item = item;
		}
예제 #6
0
 /// <summary>
 /// Determine if the BanListItem is in the Collection
 /// </summary>
 /// <param name="value">Enemy class</param>
 /// <returns>true or false</returns>
 public bool Contains(BanListItem value)
 {
     return(this.List.Contains(value as object));
 }
예제 #7
0
 /// <summary>
 /// Remove a BanListItem from the Collection
 /// </summary>
 /// <param name="value">BanListItem to remove</param>
 public void Remove(BanListItem value)
 {
     this.List.Remove(value as object);
 }
예제 #8
0
 /// <summary>
 /// Add a new BanListItem to the Collection
 /// </summary>
 /// <param name="value">BanListItem class</param>
 public void Add(BanListItem value)
 {
     this.List.Add(value as object);
 }