Esempio n. 1
0
 public async Task SendMessageToRecipientAsync(string correlationId, EmailRecipientV1 recipient, EmailMessageV1 message, ConfigParams parameters)
 {
     using (var timing = Instrument(correlationId))
     {
         await CallCommandAsync <Task>(
             "send_message_to_recipient",
             correlationId,
             new
         {
             recipient  = recipient,
             message    = message,
             parameters = parameters
         }
             );
     }
 }
 public Task SendMessageToRecipientAsync(string correlationId, EmailRecipientV1 recipient, EmailMessageV1 message, ConfigParams parameters)
 {
     return(DoNothingAsync());
 }
 public Task SendMessageToRecipientAsync(string correlationId, EmailRecipientV1 recipient, EmailMessageV1 message, ConfigParams parameters)
 {
     parameters = this._defaultParameters.Override(parameters);
     return(this._controller.SendMessageToRecipientAsync(correlationId, recipient, message, parameters));
 }