static void SetAdditions(SmsOptions smsOptions) { if (smsOptions != null) { //work id smsOptions.AddWorkId(); } }
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() }); }
/// <summary> /// Get sms account /// </summary> /// <param name="smsOptions">Sms options</param> /// <returns></returns> public static SmsAccount GetSmsAccount(SmsOptions smsOptions) { return(GetSmsAccountProxy?.Invoke(smsOptions)); }