public bool DeleteDelegation(DataReceivedDelegated delegation)
 {
     try
     {
         Delegations.Remove(delegation);
         return(true);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public bool AddDelegation(DataReceivedDelegated delegation)
 {
     try
     {
         Delegations.Add(delegation);
         return(true);
     }
     catch (Exception e)
     {
         throw e;
     }
 }