Exemplo n.º 1
0
 public override SmsOptions Clone()
 {
     return(new QueryBalanceOptions()
     {
         Tag = Tag,
         Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0)
     });
 }
Exemplo n.º 2
0
 public override SmsOptions Clone()
 {
     return(new CheckBlackOptions()
     {
         Tag = Tag,
         Additionals = Additionals?.ToDictionary(c => c.Key, c => c.Value) ?? new Dictionary <string, string>(0),
     });
 }
Exemplo n.º 3
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
     });
 }
Exemplo n.º 4
0
 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)
     });
 }
Exemplo n.º 5
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
     });
 }