Example #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;
 }
Example #2
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);
		}
Example #3
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);
		}
Example #4
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);
		}
Example #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;
		}
Example #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));
 }
Example #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);
 }
Example #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);
 }