public void TriggerCollectionChanged(bool forceUpdate) { EntityCollectionChangedEventArgs args = new EntityCollectionChangedEventArgs(); args.ProjectId = this.projectId; args.Entities = this.images; args.ForceUpdate = forceUpdate; OnCollectionChanged(args); }
protected virtual void OnCollectionChanged(EntityCollectionChangedEventArgs e) { EntityCollectionChangedEventHandler handler = CollectionChanged; if (handler != null) { handler(this, e); } }