예제 #1
0
 public Physicist(string name, string img, string famousFor, TopicsEnum topics)
 {
     this.Name          = name;
     this.ImageFileName = img;
     this.FamousFor     = famousFor;
     this.Topics        = topics;
 }
예제 #2
0
        /// <summary>
        /// A class for preparing and returning physicists in a random order, where no entry is repeated until the full set has been cycled over
        /// </summary>
        public RandomPhysicistFetcher(TopicsEnum topics)
        {
            this.AvailableIndexes = new List <int>();

            this.Topics = topics;

            this.GetAndShuffleIndexes();
        }