Example #1
0
 public async Task OnEmailSent(EmailSentEventArgs eventArgs)
 {
     if (EmailSent != null)
     {
         await EmailSent(eventArgs);
     }
 }
Example #2
0
        public async Task OnEmailSent(EmailSentEventArgs eventArgs)
        {
            if (EmailSent!=null)
            {

                await EmailSent(eventArgs);
            }
        }
 private async Task AfterEmailSent(EmailSentEventArgs e)
 {
     Log.Info("event handler worked!!");
     await Task.Delay(0);
 }