private void dccSink_Terminated() { if (Terminated != null) { foreach (TerminatedHandler th in Terminated.GetInvocationList()) { th(); } } }
public int OnLogTerminated() { foreach (TerminatedHandler th in Terminated.GetInvocationList()) { th(); } System.Diagnostics.Debug.WriteLine("Terminated"); return(0); }