Stop() public method

public Stop ( ) : void
return void
コード例 #1
0
ファイル: Program.cs プロジェクト: pebblecode/ChatQuiz
        static void Main(string[] args)
        {
            const int timeToAnswer = 30;
            IChatApi  chatClient   = new CampfireChatApiAdapter();

            GameRunner runner = new GameRunner(GetDefaultQuestionProvider(), chatClient, timeToAnswer);

            runner.Start();

            Console.ReadLine();
            runner.Stop();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: pebblecode/ChatQuiz
        static void Main(string[] args)
        {
            const int timeToAnswer = 30;
            IChatApi chatClient = new CampfireChatApiAdapter();

            GameRunner runner = new GameRunner(GetDefaultQuestionProvider(), chatClient, timeToAnswer);
            runner.Start();

            Console.ReadLine();
            runner.Stop();
        }