예제 #1
0
        public GameAnswerMV(IImageDataProvider imageDataProvider, ICountryQuestion question, ICountryAnswer answer)
        {
            _question = question;
            _answer   = answer;

            _flag = imageDataProvider.GetImage(_answer.Country.SmallFlag);

            GuessCommand = new RelayCommand(() => MessengerInstance.Send(new CountryGuessNotification(_question, _answer)));
        }
예제 #2
0
 public CountryGuessNotification(ICountryQuestion question, ICountryAnswer answer)
 {
     Question = question;
     Answer   = answer;
 }
예제 #3
0
 public QuizGameAnswerMV(IImageDataProvider imageDataProvider, ICountryQuestion question, ICountryAnswer answer, int column, int row)
     : base(imageDataProvider, question, answer)
 {
     Column = column;
     Row    = row;
 }