Ejemplo n.º 1
0
        public void Detach(DetachingSource source = DetachingSource.Detach)
        {
            if (IsProviderAttached)
            {
                Provider.Delete(this);
                Provider = null;
                OnDetached(source);

                _changedEventCollection.Clear();
                _detachedEventCollection.Clear();
            }
        }
Ejemplo n.º 2
0
 public DetachingSourceEventArgs(DetachingSource source) => DetachingSource = source;