/// <summary> /// Gets or Sets the item at the given index /// </summary> /// <param name="index">Item index</param> public override T this[int index] { get { return(base[index]); } set { if (base[index] != value) { T removed = base[index]; base[index] = value; OnItemAfterRemoved.Notify(removed); OnItemAfterAdded.Notify(value); } } }
protected override void AfterAddItem(T item) { OnItemAfterAdded.Notify(item); }