/// <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; }
/// <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); }
/// <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); }
/// <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); }
/// <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)); }