Esempio n. 1
0
        private static void Run(string[] args)
        {
            using (AppConfig.Change(GetWebConfig()))
            {
                ParseArguments(args);

                if (!string.IsNullOrEmpty(host) && listID != 0)
                {
                    TwilioHelper.ProcessQueue(listID, host);
                }
                else
                {
                    throw new ArgumentException("Invalid command line arguments");
                }
            }
        }