Пример #1
0
 public MessageBirdSmsSender(
     IMessageBirdClient messageBirdClient,
     ISmsCallback smsCallback,
     ISmsUrl smsUrl,
     string integrationId)
 {
     this.messageBirdClient = messageBirdClient;
     this.smsCallback = smsCallback;
     this.smsUrl = smsUrl;
     this.integrationId = integrationId;
 }
Пример #2
0
 public TwilioSmsSender(
     string phoneNumber,
     ITwilioRestClient twilioClient,
     ISmsCallback smsCallback,
     ISmsUrl smsUrl,
     string integrationId)
 {
     this.twilioClient  = twilioClient;
     this.smsCallback   = smsCallback;
     this.smsUrl        = smsUrl;
     this.phoneNumber   = phoneNumber;
     this.integrationId = integrationId;
 }