コード例 #1
0
 public QuestionDetailViewModel(QnAMakerResult qna)
 {
     Qna = qna;
     QnaMultipleAlternatives = new ObservableCollection <QnAMakerResult>();
     WebService.QueryMultipleAnswers(Qna.Question).ContinueWith(fetchMultipleAnswers);
     AlternativeAnswersHeader = "Loading...";
 }
コード例 #2
0
 public QuestionDetailPage(QnAMakerResult qna)
 {
     InitializeComponent();
     BindingContext = new QuestionDetailViewModel(qna);
 }