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