Ejemplo n.º 1
0
        void OnCompleted(AtomicChange change)
        {
            if (this.completed != null)
            {
                this.completed(change);
            }

            this.isCompleted = true;
        }
Ejemplo n.º 2
0
        public void Dispose()
        {
            if (!this.isCompleted)
            {
                this.change.Reject(RejectReason.RejectChanges);
            }

            //clear changes list if any
            this.change = null;
            this.OnDisposed();
        }