示例#1
0
        //Extensions:
        private static void SUBMITSMSRegEx(this SendSMSSoapClient obj, string phoneNumber, string msg)
        {
            string xml = SMSSender.GenerateRegXML(new List <string>()
            {
                phoneNumber
            }, msg);

            obj.SUBMITSMS(xml);
        }
示例#2
0
        private static void SUBMITSMSPerEx(this SendSMSSoapClient obj, Dictionary <string, string> data)
        {
            string xml = SMSSender.GeneratePerXML(data);

            obj.SUBMITSMS(xml);
        }
示例#3
0
        private static void SUBMITSMSRegManyEx(this SendSMSSoapClient obj, List <string> phoneNumbers, string msg)
        {
            string xml = SMSSender.GenerateRegXML(phoneNumbers, msg);

            obj.SUBMITSMS(xml);
        }