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