예제 #1
0
 public bool DeleteDelegation(DataReceivedDelegated delegation)
 {
     try
     {
         Delegations.Remove(delegation);
         return(true);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #2
0
 public bool AddDelegation(DataReceivedDelegated delegation)
 {
     try
     {
         Delegations.Add(delegation);
         return(true);
     }
     catch (Exception e)
     {
         throw e;
     }
 }