public override SmsOptions Clone() { return(new QueryBalanceOptions() { Tag = Tag, Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0) }); }
public override SmsOptions Clone() { return(new CheckBlackOptions() { Tag = Tag, Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0), }); }
public override SmsOptions Clone() { return(new GetSmsReportOptions() { Tag = Tag, Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0), Mobile = Mobile, SendDate = SendDate, MessageId = MessageId, Page = Page, PageSize = PageSize }); }
internal SendEmailOptions Clone() { return(new SendEmailOptions() { Id = Id, Asynchronously = Asynchronously, BodyEncoding = BodyEncoding, BodyIsHtml = BodyIsHtml, Category = Category, Content = Content, Emails = Emails.Select(c => c).ToList(), Subject = Subject, SubjectEncoding = SubjectEncoding, Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0) }); }
public override SmsOptions Clone() { return(new SendSmsOptions() { Tag = Tag, SendTime = SendTime, Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0), Asynchronously = Asynchronously, CallbackData = CallbackData, Content = Content, ContentFormat = ContentFormat, Id = Id, Mobiles = Mobiles?.Select(c => c).ToList() ?? new List <string>(0), Parameters = Parameters?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0), Subcode = Subcode }); }