internal void TriggerTaskMail(TaskAgent sender, string message, string receiver) { OnTaskMail?.Invoke(sender, message, receiver); }
internal void TriggerTaskError(TaskAgent sender, Exception ex) { OnTaskError?.Invoke(sender, ex); }