Ejemplo n.º 1
0
        public void TriggerCollectionChanged(bool forceUpdate)
        {
            EntityCollectionChangedEventArgs args = new EntityCollectionChangedEventArgs();

            args.ProjectId   = this.projectId;
            args.Entities    = this.images;
            args.ForceUpdate = forceUpdate;
            OnCollectionChanged(args);
        }
Ejemplo n.º 2
0
        protected virtual void OnCollectionChanged(EntityCollectionChangedEventArgs e)
        {
            EntityCollectionChangedEventHandler handler = CollectionChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }