private void Notify(int index, ViewDescription[] items, ViewDescriptionCollectionChangeType action) { if ((this._data.DefaultIndex < 0) || (this._data.DefaultIndex >= base.Count)) { this._data.DefaultIndex = base.Count - 1; } this.Synchronize(); if (this.ItemsChanged != null) { this.ItemsChanged(this, new ViewDescriptionCollectionEventArgs(index, items, action)); } }
public ViewDescriptionCollectionEventArgs(int index, ViewDescription[] items, ViewDescriptionCollectionChangeType changeType) { this._index = index; this._items = items; this._changeType = changeType; }