示例#1
0
        static void Main(string[] args) {
            List<Query> queries = new List<Query>();
            var parser = new ArgParser();
            var twitchhandler = new TwitchAPIHandler();

            foreach (var query in parser.parse(args)) {
                twitchhandler.add_query(query);
            }

            foreach (var response in twitchhandler.handle_queries()) {
                try {
                    response.printInfo();
                    } catch (NotImplementedException) {
                    Console.WriteLine("{0,35}", "Feature not implemented yet!");
                }
            }
        }
示例#2
0
        static void Main(string[] args)
        {
            List <Query> queries       = new List <Query>();
            var          parser        = new ArgParser();
            var          twitchhandler = new TwitchAPIHandler();

            foreach (var query in parser.parse(args))
            {
                twitchhandler.add_query(query);
            }

            foreach (var response in twitchhandler.handle_queries())
            {
                try {
                    response.printInfo();
                } catch (NotImplementedException) {
                    Console.WriteLine("{0,35}", "Feature not implemented yet!");
                }
            }
        }