コード例 #1
0
 public void Add(IQuestion view)
 {
     view.AddTo(this);
     view.Hide();
     view.OnProcess(Next);
     view.OnChoice(key =>
     {
         var choice = GetChoice(key);
         choice.OnProcess(Next);
         current?.Hide();
         choice.Show();
     });
     queueViews.Enqueue(view);
 }