Exemple #1
0
 public CollectionUnsplashSource(bool b = false)
 {
     if (b)
     {
         Collectionid = Questions.AskQuestion("Please enter a collection ID: ");
     }
 }
Exemple #2
0
        public SearchtermUnsplashSource(bool ask = false)
        {
            if (!ask)
            {
                return;
            }

            Term       = Questions.AskQuestion("Specify the search terms (Can be separated by a comma): ");
            IsFeatured = Questions.AskBoolQuestion("Search for featured images: ");
        }
 public void Ask()
 {
     if (categories.CurrentCategory() == "Pop")
     {
         popQuestions.AskQuestion();
     }
     if (categories.CurrentCategory() == "Science")
     {
         scienceQuestions.AskQuestion();
     }
     if (categories.CurrentCategory() == "Sports")
     {
         sportsQuestions.AskQuestion();
     }
     if (categories.CurrentCategory() == "Rock")
     {
         rockQuestions.AskQuestion();
     }
 }