Example #1
0
 public virtual void OnPreUpdate()
 {
     if (this.PreUpdate != null)
     {
         var e = new RepositoryEventArgs(this, StatusEventType.PreUpdate);
         this.PreUpdate(this, e);
     }
 }
Example #2
0
 public virtual void OnAddCommitted()
 {
     if (this.AddCommitted != null)
     {
         var e = new RepositoryEventArgs(this, StatusEventType.AddCommitted);
         this.AddCommitted(this, e);
     }
     CallOnceRepositoryActions();
 }
Example #3
0
 public virtual void OnDeletePreCommit()
 {
     if (this.DeletePreCommit != null)
     {
         var e = new RepositoryEventArgs(this, StatusEventType.DeletePreCommit);
         this.DeletePreCommit(this, e);
     }
     CallOnceRepositoryActions();
 }
Example #4
0
 private void NotifyDeleted(object sender, RepositoryEventArgs e)
 {
     RemotePortal.NotifyDeleted(this.RemoteType, e.Target.GetIdentity());
 }