예제 #1
0
 static void SetAdditions(SmsOptions smsOptions)
 {
     if (smsOptions != null)
     {
         //work id
         smsOptions.AddWorkId();
     }
 }
예제 #2
0
 internal SendSmsResult Clone()
 {
     return(new SendSmsResult()
     {
         RequestId = RequestId,
         Result = Result,
         Code = Code,
         Description = Description,
         Success = Success,
         MessageId = MessageId,
         BizId = BizId,
         FailMobiles = FailMobiles?.Select(c => c).ToList() ?? new List <string>(0),
         SmsAccount = SmsAccount?.Clone(),
         SmsOptions = SmsOptions?.Clone()
     });
 }
예제 #3
0
 /// <summary>
 /// Get sms account
 /// </summary>
 /// <param name="smsOptions">Sms options</param>
 /// <returns></returns>
 public static SmsAccount GetSmsAccount(SmsOptions smsOptions)
 {
     return(GetSmsAccountProxy?.Invoke(smsOptions));
 }