示例#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);
 }