Exemple #1
0
 /// <summary>
 /// Triggers the CommentInstancesDeleted event.
 /// </summary>
 internal virtual void OnUtilityInstancesDeleted(UtilityInstancesDeletedEventArgs ea)
 {
     if (UtilityInstancesDeleted != null)
         UtilityInstancesDeleted(this, ea);
 }
Exemple #2
0
 internal void _utilitiesMgr_Removed(IUtilitiesMgr sender, UtilityCollectionEventArgs ea)
 {
     if (sender != null)
     {
         for (int i = 0; i < ea.Utilities.Length; i++)
         {
             ClearSubscriptions(ea.Utilities[i]);
         }
         if (ea.Utilities.Length > 0)
         {
             UtilityInstancesDeletedEventArgs arg = new UtilityInstancesDeletedEventArgs(ea.Utilities);
             OnUtilityInstancesDeleted(arg);
         }
     }
 }
Exemple #3
0
 public void UtilityInstancesDeleted_DummyHandler(IWorkSpace sender, UtilityInstancesDeletedEventArgs ea)
 {
     //throw new Exception("The method or operation is not implemented.");
     UtilityInstancesDeleted_TimesHandled++;
 }